Closed Bug 640542 Opened 15 years ago Closed 14 years ago

DumpJSStack should use OutputDebugString if a debugger is present

Categories

(Core :: XPConnect, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 762519

People

(Reporter: ted, Unassigned)

References

Details

On Windows, if you attach to a running Firefox and then attempt to use DumpJSStack, you're usually out of luck because it writes its output to stdout, and unless you had the forethought to redirect that, you can't see it. DumpJSStack should use IsDebuggerPresent to determine whether a debugger is attached, and if so use OutputDebugString to write the output so that it's visible in the debugger's Output window.
See Also: → 390328
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.