RunWatchdog should not fire when a debugger is present

NEW
Unassigned

Status

()

Core
XPCOM
3 years ago
15 days ago

People

(Reporter: mayhemer, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Comment hidden (empty)
Uh, why not?
Flags: needinfo?(honzab.moz)
(Reporter)

Comment 2

2 years ago
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #1)
> Uh, why not?

Maybe I should rephrase the title: the watch dog should ignore delays caused by debugger sessions.  I'm currently not sure if this is an issue.  I recall I've reported this bug after debugging some shutdown code and just got hit by this artificial crash.  Very annoying.
Flags: needinfo?(honzab.moz)
Ah, ok, that is a reasonable ask.  Resummarizing.
Summary: RunWatchdog should not run in debug builds → RunWatchdog should not fire when a debugger is present
(Reporter)

Comment 4

2 years ago
On windows, it can be easily discovered with a call to BOOL IsDebuggerPresent() function.

Updated

15 days ago
Blocks: 1358898
You need to log in before you can comment on or make changes to this bug.