Closed Bug 857451 Opened 11 years ago Closed 5 years ago

Breakpoints not working in browser debugger

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: vporof, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [chrome-debug])

This still seems to be happening.

STR:
1. Open/close normal debugger
2. Open browser debugger
3. Add breakpoint in debugger-controller.js DC_initialize (or DC_startupDebugger)
4. Open normal debugger

Nothing happens.
Whiteboard: [chrome-debug]
In this case we set a breakpoint in a script that will only get triggered after we restart the debugger, causing a different instance of the script to load. The bug must be somewhere in the breakpointStore-related logic in TA_setBreakpoint. It may be related to bug 851836 (which is a regression from bug 820012).
Priority: -- → P3
We only restore a breakpoint if it isn't already attached to a script. Not completely sure why though...

http://dxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/script.js#2263
Summary: Browser debugger not pausing on breakpoints in js files → Breakpoints don't work in browser debugger
Summary: Breakpoints don't work in browser debugger → Breakpoints not working in browser debugger
I can reproduce this bug when remote debugging my Addon quickFilters on Thunderbird. I have code which is in the filter editor overlaying 
http://http://mxr.mozilla.org/comm-central/source/mailnews/base/search/content/FilterEditor.xul

This window is usually shown as a child window from the Filter List dialog, so this is no direct child of the main Thunderbird (3-pane) window. All sources are displayed but all breakpoints (and debugger statements) are ignored. When the window opens I can detect a change in the js-files list on the left hand side, but I do not know what changes.

The window is modeless.
Assignee: nobody → ejpbruel
I will take another look at this bug when I get back from vacation. If anybody else wants to take a look at this in my absence, just shoot me an e-mail.
Assignee: ejpbruel → nobody
Product: Firefox → DevTools

We've been reliably debugging the new debugger for a while.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.