When inspecting Shared worker, debugger always stops at first line

263 views
Skip to first unread message

velicky...@gmail.com

unread,
Apr 1, 2016, 6:53:32 AM4/1/16
to blink-dev
Hello,

When I inspect my Shared Worker via chrome://inspect , the debugger always stops at the very first line of the source even if there is no breakpoint added.

Is that expected or I'm doing something wrong ?

Thanks,
Martin.

Joe Medley

unread,
Apr 1, 2016, 12:01:38 PM4/1/16
to velicky...@gmail.com, blink-dev
There's a checkbox somewhere that makes it do that. I've lost track of where during the recent interface changes.

Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Hiroki Nakagawa

unread,
Apr 4, 2016, 9:22:00 PM4/4/16
to velicky...@gmail.com, blink-dev, Joe Medley
Hi Martin,

I think it’s expected behavior. See this blog post:

“When you need to debug a shared worker initialization, it is enough to terminate the current instance of the worker leaving the Developer Tools window open and reload one of the worker clients. The worker will restart and Developer Tools window will automatically re-attach to the new instance.“


2016-04-02 1:01 GMT+09:00 'Joe Medley' via blink-dev <blin...@chromium.org>:
There's a checkbox somewhere that makes it do that. I've lost track of where during the recent interface changes.

According to the blog post, this checkbox might be used for dedicated workers.

Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.

On Fri, Apr 1, 2016 at 3:53 AM, <velicky...@gmail.com> wrote:
Hello,

When I inspect my Shared Worker via chrome://inspect , the debugger always stops at the very first line of the source even if there is no breakpoint added.

Is that expected or I'm doing something wrong ?

Thanks,
Martin.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.


Thanks,
Hiroki
Reply all
Reply to author
Forward
0 new messages