RESOLVED FIXED 122900
Web Inspector: clearer indication that the debugger is paused
https://bugs.webkit.org/show_bug.cgi?id=122900
Summary Web Inspector: clearer indication that the debugger is paused
Dave Coffin
Reported 2013-10-16 09:03:35 PDT
Created attachment 214366 [details] example of a paused script indication Theres no outstanding indication in the browser window that you are currently paused in a script. So, if you are waiting on an ajax request, (and doing 5 other things), its not immediately obvious that you've returned and are paused. The old web inspector would darken the screen (I'm not a huge fan of that because I like to be able to inspect the DOM while paused), but something like the attached would be useful.
Attachments
example of a paused script indication (637.87 KB, image/png)
2013-10-16 09:03 PDT, Dave Coffin
no flags
Another option for script paused indication (715.27 KB, image/png)
2013-10-16 11:44 PDT, Dave Coffin
no flags
Radar WebKit Bug Importer
Comment 1 2013-10-16 09:04:08 PDT
Timothy Hatcher
Comment 2 2013-10-16 11:28:42 PDT
One concern I have with changing/overlaying the page is it would impede the ability to visually debug the page. If you are stepping through canvas drawing code, you likely want to look at it on screen. The mock-up attach isn't that bad, the border does not cover too much. But it might be easy to miss too… not an easy problem to solve with out being in the way. One idea we have discussed in the past is pulsing the Debugger icon red or some color when paused.
Timothy Hatcher
Comment 3 2013-10-16 11:30:52 PDT
Putting the indication in the Inspector UI (like pulsing the debugger icon) will help remote debugging too, since you are juggling two screens.
Dave Coffin
Comment 4 2013-10-16 11:44:25 PDT
Created attachment 214380 [details] Another option for script paused indication
Dave Coffin
Comment 5 2013-10-16 11:44:42 PDT
Heres another idea…use the status window. Seems the most appropriate. Attached is not my finest mockup, but something like this. A bright color would get the users attention, but have arrows to toggle back to your stats. If you adopt that method (like in iTunes), you could use that status window for more things in the future like file upload progress and stuff.
Timothy Hatcher
Comment 6 2013-10-16 11:46:24 PDT
That is a good idea. We should explore that some.
Dave Coffin
Comment 7 2013-10-17 08:45:15 PDT
To add to my argument: Say you've got a break point in your code that you set yesterday while debugging something. You wake up the next morning, start working on a different bug, forgetting that you set a break point yesterday. Your script pauses, but theres no clear indication that you're paused, so you think your whole program has stopped working. You get mad, spill your coffee on your computer and quit your job. That happened to me this morning. Well, not the last part. But I was very confused for a good minute.
Brian Burg
Comment 8 2014-12-04 15:29:10 PST
The latter mockup has been implemented for some time now. Please file bugs against it if you have ideas for improvements!
Note You need to log in before you can comment on or make changes to this bug.