Closed Bug 1159425 Opened 9 years ago Closed 7 years ago

Hitting reload on a page while paused in the debugger does not re-run the debugger

Categories

(DevTools :: Debugger, defect, P1)

40 Branch
defect

Tracking

(firefox40 affected)

RESOLVED WORKSFORME
Tracking Status
firefox40 --- affected

People

(Reporter: canuckistani, Unassigned)

Details

Attachments

(1 file)

Attached image brkpint-rm-2.gif
See attached gif.

STR: 

1. go to http://todomvc.com/examples/backbone/
2. open the debugger, set breakpoint on line 30
3. hit reload, the debugger should pause on line 30
4. while paused, disable the breakpoint then hit reload on the page

Expected: the debugger should stop, then re-run 

Actual: debugger seems stuck and does not react to the page reload.

See attached gif.
Assignee: nobody → ejpbruel
What I'd expect to happen when the page is reloaded is that we clear all debuggees from the debugger, and that causes the debugger to resume if it's currently paused. The former happens as expected, but the latter does not.

Shouldn't clearing all debuggees from the debugger cause it to resume? I can't find any code to that effect in neither the server nor the API. James, do you have any idea?
Flags: needinfo?(jlong)
I don't really know, except that it obviously doesn't happen, but it would be really simple to check if we are paused when clearing and resume. The problem is the frontend, I think, it's stuck in the paused state, so we also might have to be careful when we tell it to resume to make sure it happens before the tab is navigated.
Flags: needinfo?(jlong)
I's still the same after more then a year and 8 versions of Firefox.
Assignee: ejpbruel → nobody
This works for me now. Tested in FF58.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: