Cannot add breakpoints after page reload with debugger open

RESOLVED WORKSFORME

Status

()

Firefox
Developer Tools: Debugger
RESOLVED WORKSFORME
5 years ago
5 years ago

People

(Reporter: Optimizer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
STR:
On a latest nightly:
1) Open any page with scripts and open debugger.
2) Put a breakpoint on any line in any script
3) Refresh the page.
4) The existing breakpoint is persisted.
5) Try adding a new breakpoint.

Expected : New breakpoint gets added
Actual: It does not get added and an exception is thrown in Browser Console:

[19:26:04.252] Error executing callback passed to debugger client: TypeError: aBreakpointClient is undefined
@chrome://browser/content/devtools/debugger-controller.js:1397
@resource://gre/modules/devtools/dbg-client.jsm:1332
@resource://gre/modules/devtools/dbg-client.jsm:317
@resource://gre/modules/devtools/dbg-client.jsm:694
resolve@resource://gre/modules/commonjs/sdk/core/promise.js:118
then@resource://gre/modules/commonjs/sdk/core/promise.js:43
then@resource://gre/modules/commonjs/sdk/core/promise.js:153
DC_onPacket@resource://gre/modules/devtools/dbg-client.jsm:698
@resource://gre/modules/devtools/dbg-server.jsm -> resource://gre/modules/devtools/server/transport.js:251
@resource://gre/modules/devtools/dbg-server.jsm -> resource://gre/modules/devtools/DevToolsUtils.js:72
 @ resource://gre/modules/devtools/dbg-client.jsm:322
still a bug?
(Reporter)

Comment 2

5 years ago
No, I think it got fixed along with some other fix .
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.