-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- Debug, break in a node internals file
- Easy way to repro, start debugging vscode and break on "all exceptions", break in fs.js with some random exception
- "Cannot set property 'available' of undefined"
I think because the uri path is <node_internals>/fs.js, and we try to parse that as a uri.
Stack parsing non-uri as a uri:
(anonymous) (uri.ts:30)
e (uri.ts:173)
t (uri.ts:388)
e.parse (uri.ts:270)
(anonymous) (mainThreadDebugService.ts:303)
(anonymous) (debugUtils.ts:75)
i (debugUtils.ts:116)
t.convertToDAPaths (debugUtils.ts:73)
t.sendMessage (mainThreadDebugService.ts:299)
e.internalSend (debugAdapter.ts:158)
e.sendRequest (debugAdapter.ts:99)
(anonymous) (rawDebugSession.ts:512)
n.Class.derive._oncancel (winjs.base.js:1662)
t.send (rawDebugSession.ts:511)
t.source (rawDebugSession.ts:369)
e.loadSource (debugSession.ts:434)
e.provideTextContent (debugContentProvider.ts:65)
(anonymous) (textModelResolverService.ts:85)
o (async.ts:402)
t.first (async.ts:414)
t.resolveTextModelContent (textModelResolverService.ts:87)
t.createReferencedObject (textModelResolverService.ts:40)
e.acquire (lifecycle.ts:79)
e._createModelReference (textModelResolverService.ts:133)
e.createModelReference (textModelResolverService.ts:112)
t.resolve (resourceEditorInput.ts:87)
(anonymous) (textResourceEditor.ts:66)
then (winjs.base.js:1587)
t.setInput (textResourceEditor.ts:65)
t.doSetInput (editorControl.ts:177)
t.openEditor (editorControl.ts:69)
t.doShowEditor (editorGroupView.ts:780)
t.doOpenEditor (editorGroupView.ts:770)
t.openEditor (editorGroupView.ts:739)
t.doOpenEditor (editorService.ts:249)
t.openEditor (editorService.ts:242)
e.openInEditor (debugSource.ts:81)
e.openInEditor (debugModel.ts:390)
e.tryToAutoFocusStackFrame (debugService.ts:743)
(anonymous) (debugSession.ts:592)
g (winjs.base.js:1191)
enter (winjs.base.js:867)
_run (winjs.base.js:1089)
_completed (winjs.base.js:1057)
(anonymous) (rawDebugSession.ts:514)
e.acceptMessage (debugAdapter.ts:146)
e.$acceptDAMessage (mainThreadDebugService.ts:221)
t._doInvokeHandler (rpcProtocol.ts:442)
t._invokeHandler (rpcProtocol.ts:427)
t._receiveRequest (rpcProtocol.ts:344)
t._receiveOneMessage (rpcProtocol.ts:274)
(anonymous) (rpcProtocol.ts:149)
e.fire (event.ts:140)
a (ipc.net.ts:105)
n._socketDataListener (ipc.net.ts:134)
emitOne (events.js:116)
emit (events.js:211)
addChunk (_stream_readable.js:263)
readableAddChunk (_stream_readable.js:250)
Readable.push (_stream_readable.js:208)
onread (net.js:594)
Stack that throws the above error:
(anonymous) (debugModel.ts:1098)
e.sourceIsNotAvailable (debugModel.ts:1098)
e.sourceIsNotAvailable (debugService.ts:195)
a (debugContentProvider.ts:60)
(anonymous) (debugContentProvider.ts:74)
then (winjs.base.js:1457)
e.provideTextContent (debugContentProvider.ts:65)
(anonymous) (textModelResolverService.ts:85)
o (async.ts:402)
t.first (async.ts:414)
t.resolveTextModelContent (textModelResolverService.ts:87)
t.createReferencedObject (textModelResolverService.ts:40)
e.acquire (lifecycle.ts:79)
e._createModelReference (textModelResolverService.ts:133)
e.createModelReference (textModelResolverService.ts:112)
t.resolve (resourceEditorInput.ts:87)
(anonymous) (textResourceEditor.ts:66)
then (winjs.base.js:1587)
t.setInput (textResourceEditor.ts:65)
t.doSetInput (editorControl.ts:177)
t.openEditor (editorControl.ts:69)
t.doShowEditor (editorGroupView.ts:780)
t.doOpenEditor (editorGroupView.ts:770)
t.openEditor (editorGroupView.ts:739)
t.doOpenEditor (editorService.ts:249)
t.openEditor (editorService.ts:242)
e.openInEditor (debugSource.ts:81)
e.openInEditor (debugModel.ts:390)
e.tryToAutoFocusStackFrame (debugService.ts:743)
(anonymous) (debugSession.ts:592)
g (winjs.base.js:1191)
enter (winjs.base.js:867)
_run (winjs.base.js:1089)
_completed (winjs.base.js:1057)
(anonymous) (rawDebugSession.ts:514)
e.acceptMessage (debugAdapter.ts:146)
e.$acceptDAMessage (mainThreadDebugService.ts:221)
t._doInvokeHandler (rpcProtocol.ts:442)
t._invokeHandler (rpcProtocol.ts:427)
t._receiveRequest (rpcProtocol.ts:344)
t._receiveOneMessage (rpcProtocol.ts:274)
(anonymous) (rpcProtocol.ts:149)
e.fire (event.ts:140)
a (ipc.net.ts:105)
n._socketDataListener (ipc.net.ts:134)
emitOne (events.js:116)
emit (events.js:211)
addChunk (_stream_readable.js:263)
readableAddChunk (_stream_readable.js:250)
Readable.push (_stream_readable.js:208)
onread (net.js:594)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded