Closed Bug 1164667 Opened 5 years ago Closed 6 months ago

Browser debugger never hits for scripts in new windows after open

Categories

(DevTools :: Debugger, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jryans, Unassigned)

References

(Blocks 1 open bug)

Details

I can't seem to get any breakpoint to hit in the browser debugger with latest fx-team.

Here's a random sample, but I think almost any file and line would work:

STR:

1. Open Browser Toolbox and go to Debugger
2. Go to the file viewSource.js
3. Add a breakpoint on the first line of the init function
4. In some tab, press Cmd-U to open view source

ER:

The breakpoint should be hit.

AR:

It is not hit.  With dump, I can confirm the line is executed.
Okay, I've traced the issue to a more specific case. 

It seems we can't seem to hit any breakpoints for scripts in new chrome windows that are opened *after* the BT debugger itself is opened.

This does not appear to be a recent regression, as it also fails in current release (37).
Summary: Browser debugger never hits any breakpoints → Browser debugger never hits for scripts in new windows after open
Product: Firefox → DevTools

Honza, could you try and reproduce?

Blocks: dbg-control
Flags: needinfo?(odvarko)

The breakpoint hits for me properly, closing.

Honza

Status: NEW → RESOLVED
Closed: 6 months ago
Flags: needinfo?(odvarko)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.