New issue
Advanced search Search tips

Issue 784919 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

DevTools: breakpoint paused in another thread (e.g. ServiceWorker) doesn't look active

Reported by kenneth....@gmail.com, Nov 14 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1. Load mobile.twitter.com
2. Open serviceworker/main.js in devtools
3. Set breakpoint in handleFetchAsset
4. Clear serviceworker & caches, refresh
5. Spinner shows, breakpoint appears inactive.

What is the expected behavior?
5. Spinner shows, breakpoint should be focused.

What went wrong?
I needed to choose the serviceworker thread in the devtools pane to see which breakpoint was active. There's no visual indication that this is so, so I was assuming Chrome was hanging.

Either focusing the correct thread (best) or providing a visual clue that I should do so, would be very helpful.

Did this work before? N/A 

Chrome version: 62.0.3202.94  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
Labels: Needs-Triage-M62

Comment 2 by l...@chromium.org, Nov 15 2017

Cc: kozy@chromium.org
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for the report.  I'm able to reproduce the behavior after I switch to the 'Main' thread and refresh.

We could solve this with some better UX.  Currently a paused breakpoint has a lighter blue background on the entire line.  Perhaps we could show some sort of lighter gray background on the entire line, when it is being actively paused, but on a different thread.

kozy@, wdyt?

Comment 3 by l...@chromium.org, Nov 15 2017

Summary: DevTools: breakpoint paused in another thread (e.g. ServiceWorker) doesn't look active (was: Breakpoint in ServiceWorker doesn't focus current thread)
Cc: -kozy@chromium.org a-...@yandex-team.ru
Owner: kozyatinskiy@chromium.org

Comment 5 by kozy@chromium.org, Dec 13 2017

Owner: kozy@chromium.org

Sign in to add a comment