Closed Bug 308418 Opened 19 years ago Closed 19 years ago

windbgdlg pops up even when mozilla is in the debugger

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: mrbkap)

References

Details

(Keywords: regression)

Attachments

(1 file)

jst and I noticed not too long ago that the windbgdlg pop up was coming up, even when we were already running in the debugger (MSVC). This is pretty annoying, since it means that there is now an extra click per assertion. This appears to be a regression from bug 304237. The test for shouldIgnoreDebugger (and the related strcmp) is partially reversed. I'll attach a patch which gives the behavior that if the enviornment variable doesn't exist or it is not set to "1", then we look up if we are already debugging.
Attached patch deflip the logicSplinter Review
This is the intended logic (opt-out through no action).
Attachment #196000 - Flags: superreview?(jst)
Attachment #196000 - Flags: review?(dougt)
Note that the patch is diff -w, since I reindented the block to fit with the surrounding code.
Status: NEW → ASSIGNED
Comment on attachment 196000 [details] [diff] [review] deflip the logic white space looks off.
Attachment #196000 - Flags: review?(dougt) → review+
didn't read your comment about the white space (diff -w). :-)
Attachment #196000 - Flags: superreview?(jst) → superreview+
Checked in on trunk. I don't think this needs to go in on branch, unless someone really wants it.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: