Bug 45254 - Web Inspector: shows random source file instead of anonymous method with breakpoint in it
Summary: Web Inspector: shows random source file instead of anonymous method with brea...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-09-06 03:20 PDT by Martin Häcker
Modified: 2014-12-12 14:10 PST (History)
8 users (show)

See Also:

as mentioned in text (197.55 KB, image/png)
2010-09-06 03:21 PDT, Martin Häcker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Häcker 2010-09-06 03:20:05 PDT
Hi there,

I just noticed that the inspector sometimes shows me random source files instead of the code that is actually executing.

I am not sure yet if this is decisive, but it seems that this happens when there are breakpoints in anonymous functions. (I've attached a screenshot as an example.

What it shows is a) in the console the code that is actually executed and b) in the code view the code that it thinks it is currently executing.

Slightly annoying during debugging - so please resolve. :)

Switching to another stack frame and then switching back doesn't seem to help.
Comment 1 Martin Häcker 2010-09-06 03:21:06 PDT
Created attachment 66618 [details]
as mentioned in text
Comment 2 Brian Burg 2014-12-12 14:10:54 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.