Open Bug 1555843 Opened 6 months ago Updated 6 months ago

Debugger failed to pause (script global is not a debuggee)

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

I was debugging tuner.cloud for bug 1555830. After closing and opening DevTools and disabling extensions, breakpoints stopped working and could not get fixed by re-opening the toolbox, deleting/re-adding breakpoints.

Browser console error that stuck out is

error occurred while processing 'sources: Error: can't set breakpoint: script global is not a debuggee
Stack: addScript@resource://devtools/server/actors/breakpoint.js:75:14
setBreakpointAtEntryPoints@resource://devtools/server/actors/breakpoint.js:24:11
applyBreakpoint@resource://devtools/server/actors/source.js:486:5
_addSource@resource://devtools/server/actors/thread.js:1678:19
onSources@resource://devtools/server/actors/thread.js:1090:12
onPacket@resource://devtools/server/main.js:1291:58
receiveMessage@resource://devtools/shared/transport/child-transport.js:66:16
enter@resource://devtools/server/actors/utils/event-loop.js:118:18
_pushThreadPause@resource://devtools/server/actors/thread.js:187:15
_pauseAndRespond@resource://devtools/server/actors/thread.js:549:12
hit@resource://devtools/server/actors/breakpoint.js:253:29
e/<@https://tuner.cloud/app.ff8e2a.js:1:16455
Line: 75, column: 14 main.js:1160
    _unknownError resource://devtools/server/main.js:1160
    onPacket resource://devtools/server/main.js:1294
    receiveMessage resource://devtools/shared/transport/child-transport.js:66
    enter resource://devtools/server/actors/utils/event-loop.js:118
    enter self-hosted:1001
    _pushThreadPause resource://devtools/server/actors/thread.js:187
    _pauseAndRespond resource://devtools/server/actors/thread.js:549
    hit resource://devtools/server/actors/breakpoint.js:253
    e https://tuner.cloud/app.ff8e2a.js:1

Another error pops up on refresh as well:

Handler function _httpResponseExaminer threw an exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.visitOriginalResponseHeaders]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://devtools/server/actors/network-monitor/network-observer.js :: _httpResponseExaminer :: line 312"  data: no]
Stack: _httpResponseExaminer@resource://devtools/server/actors/network-monitor/network-observer.js:312:15
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
_serviceWorkerRequest@resource://devtools/server/actors/network-monitor/network-observer.js:249:10
enter@resource://devtools/server/actors/utils/event-loop.js:118:18
_pushThreadPause@resource://devtools/server/actors/thread.js:187:15
_pauseAndRespond@resource://devtools/server/actors/thread.js:549:12
hit@resource://devtools/server/actors/breakpoint.js:253:29
e@https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1:15764
@https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1:785
r@https://tuner.cloud/polyfill.8dc047.js line 1 > scriptElement:1:107
window.webpackJsonp@https://tuner.cloud/polyfill.8dc047.js line 1 > scriptElement:1:384
@https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1:1
enter@resource://devtools/server/actors/utils/event-loop.js:118:18
_pushThreadPause@resource://devtools/server/actors/thread.js:187:15
_pauseAndRespond@resource://devtools/server/actors/thread.js:549:12
hit@resource://devtools/server/actors/breakpoint.js:253:29
e/<@https://tuner.cloud/app.ff8e2a.js:1:16455
Line: 312, column: 0 2 ThreadSafeDevToolsUtils.js:88:13
    reportException resource://devtools/shared/ThreadSafeDevToolsUtils.js:88
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:115
    _serviceWorkerRequest resource://devtools/server/actors/network-monitor/network-observer.js:249
    enter resource://devtools/server/actors/utils/event-loop.js:118
    _pushThreadPause resource://devtools/server/actors/thread.js:187
    _pauseAndRespond resource://devtools/server/actors/thread.js:549
    hit resource://devtools/server/actors/breakpoint.js:253
    e https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1
    <anonymous> https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1
    r https://tuner.cloud/polyfill.8dc047.js line 1 > scriptElement:1
    webpackJsonp https://tuner.cloud/polyfill.8dc047.js line 1 > scriptElement:1
    <anonymous> https://tuner.cloud/app.ff8e2a.js line 1 > scriptElement:1
    enter resource://devtools/server/actors/utils/event-loop.js:118
    _pushThreadPause resource://devtools/server/actors/thread.js:187
    _pauseAndRespond resource://devtools/server/actors/thread.js:549
    hit resource://devtools/server/actors/breakpoint.js:253
    e https://tuner.cloud/app.ff8e2a.js:1
Blocks: dbg-control
Priority: -- → P3
Summary: Debugger got into a state of not pausing on any breakpoint → Debugger failed to pause (script global is not a debuggee)
You need to log in before you can comment on or make changes to this bug.