Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Remote debugging stopOnEntry error #1818

Closed
mmwtsn opened this issue Jul 30, 2018 · 2 comments
Closed

Remote debugging stopOnEntry error #1818

mmwtsn opened this issue Jul 30, 2018 · 2 comments

Comments

@mmwtsn
Copy link

mmwtsn commented Jul 30, 2018

I am running version 0.6.84 with VS Code 1.25.1 on macOS 10.13.6.

Steps to Reproduce:

  1. Create a default launch configuration and set the mode to "remote"
  2. Start debugging
  3. Stop debugging

Regardless of the stopOnEntry value I see the following error when the session stops:

TypeError: Cannot read property 'stopOnEntry' of undefined at GoDebugSession.configurationDoneRequest (/Users/maxwell/.vscode/extensions/ms-vscode.go-0.6.84/out/src/debugAdapter/goDebug.js:396:28) at GoDebugSession.dispatchRequest (/Users/maxwell/.vscode/extensions/ms-vscode.go-0.6.84/node_modules/vscode-debugadapter/lib/debugSession.js:362:22) at GoDebugSession._handleData (/Users/maxwell/.vscode/extensions/ms-vscode.go-0.6.84/node_modules/vscode-debugadapter/lib/protocol.js:97:38) at Socket.inStream.on (/Users/maxwell/.vscode/extensions/ms-vscode.go-0.6.84/node_modules/vscode-debugadapter/lib/protocol.js:18:44) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:178:18) at Socket.Readable.push (_stream_readable.js:136:10) at Pipe.onread (net.js:560:20)

Because of #1814 I am not running 0.6.85.

@ramya-rao-a
Copy link
Contributor

@mmwtsn Looks like the error is coming from https://github.com/Microsoft/vscode-go/blob/0.6.84/src/debugAdapter/goDebug.ts#L597, which would mean that the launchArgs is not set.

@vscodebot
Copy link

vscodebot bot commented Aug 23, 2018

This issue has been closed automatically because it needs more information and has not had recent activity. Thank you for your contributions.

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants