Devtools should not detach on refresh

UNCONFIRMED
Unassigned

Status

()

Firefox
Developer Tools: Debugger
P3
normal
UNCONFIRMED
6 months ago
3 months ago

People

(Reporter: Lee, Unassigned)

Tracking

54 Branch
Points:
---

Firefox Tracking Flags

(firefox57 fix-optional)

Details

(Reporter)

Description

6 months ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170608105825

Steps to reproduce:

When the website being developed has faulty code which results in an infinite loop firefox freezes up (not unreasonably). 
Then, I was using the debugger in devtools to find the faulty code. Once identified I fix the original source code and then hit refresh in the browser.


Actual results:

The debugger detaches from the webpage before the refresh takes place. This results in the infinite loop resuming and the refresh never happens. At this point I am forced to terminate FF and open fresh.


Expected results:

Debugger should not detach before the page is unloaded, meaning execution does not resume.

Alternatively, add a button in the debugger which causes script execution to stop permanently until the page is reloaded.

Updated

6 months ago
Component: Untriaged → Developer Tools: Debugger

Updated

3 months ago
status-firefox57: --- → fix-optional
Priority: -- → P3

Comment 1

3 months ago
Thanks for reporting Lee. This could be a difficult fix, which involves platform. I'm labeling it a P3 for now.
You need to log in before you can comment on or make changes to this bug.