-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic while debugging using VSCODE linux #71
Comments
(this is just a memo for me) A current commit revision is 2f3ee57 . This panic is raised at Lines 106 to 114 in 2f3ee57
And maybe retCode was 25 |
Let me know if I can help. |
I don't know why this panic is raised but I found a similar issue, but this issue is not resolved. |
In fact, the problem is not in your code, but somewhere in between vs-code and dlv. First, add a launch configuration for remote in launch.json {
"name": "Remote",
"type": "go",
"request": "launch",
"mode": "remote",
"remotePath": "${workspaceRoot}",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}",
"env": {}
} In the terminal windows, in the package folder, launch dlv: Then launch the debug session using the remote configuration. |
Bug reports
When placing a breakpoint is my code, the program is panicking
Expected Behavior
Debugging go-prompt application should not make the program panicking
Current Behavior and Steps to Reproduce
Place a break point into some of provided examples, let say in completer function
When the breakpoint is reached, the debug console shows:
Context
Operating System:
ubuntu mint 18.3
go version go1.10.1 linux/amd64
Terminal Emulator: (i.e. iTerm2)
vscode 1.23.1 integrated terminal
tag of go-prompt or commit revision:
I have used go get command.
The text was updated successfully, but these errors were encountered: