This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Failed to halt - Process 10689 has exited with status 0 #2313
Closed
Description
openedon Feb 8, 2019
- OS
macOS 10.14.3
- VSCode
Version 1.31.0 (1.31.0) 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
- Go pluging
0.9.1
- Go
go version go1.11.5 darwin/amd64
- Delve
Delve Debugger Version: 1.1.0 Build: $Id: 1990ba12450cab9425a2ae62e6ab988725023d5c $
- Delve commit
2e0a331fdc55bbe67a257d17f0d7c285471c9294
Steps to Reproduce:
Code located here. https://github.com/SteelPhase/vscode-go-issues-2313
- Run the launch config.
- Error should display in debug output.
Alternative steps:
- Open
main_test.go
- click debug test
- error should be displayed.
vscode-go-debug.txt
2019-2-8, 17:17:18.589 UTC
[17:17:18.591 UTC] From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"go","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
[17:17:18.591 UTC] InitializeRequest
[17:17:18.591 UTC] To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConfigurationDoneRequest":true,"supportsSetVariable":true}}
[17:17:18.591 UTC] InitializeResponse
[17:17:18.591 UTC] From client: launch({"name":"Launch","type":"go","request":"launch","mode":"debug","program":"/Users/steelphase/Code/Go/src/github.com/steelphase/vscode-go-issues-2313","env":{"GOPATH":"/Users/steelphase/Code/Go","TERM_PROGRAM":"Apple_Terminal","TERM":"xterm-256color","SHELL":"/bin/bash","CLICOLOR":"1","TMPDIR":"/var/folders/0b/zk7t542s1sj_31mwpwyk3cy81gy8z8/T/","Apple_PubSub_Socket_Render":"/private/tmp/com.apple.launchd.s2bnLeyLty/Render","TERM_PROGRAM_VERSION":"421.1","TERM_SESSION_ID":"DF2DF244-13AA-4F49-B400-70082E96B2CD","USER":"steelphase","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.hPvh5Gn0sC/Listeners","LSCOLORS":"GxFxBxDxCxegedabagacad","PATH":"/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/puppetlabs/bin:/opt/puppetlabs/pdk/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/steelphase/Code/Go/bin:/usr/local/Cellar/go/1.11.5/libexec/bin","PWD":"/Users/steelphase/Code/Go/src/github.com/steelphase/vscode-go-issues-2313","CodePath":"/Users/steelphase/Code","EDITOR":"code","LANG":"en_US.UTF-8","XPC_FLAGS":"0x0","XPC_SERVICE_NAME":"0","GPG_TTY":"/dev/ttys002","HOME":"/Users/steelphase","SHLVL":"2","LOGNAME":"steelphase","ORACLE_HOME":"/opt/oracle/instantclient_11_2","GNUPGHOME":"/Users/steelphase/.gnupg/","_":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","__CF_USER_TEXT_ENCODING":"0x2FF23E8:0x0:0x0","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true","VSCODE_CLI":"1","ELECTRON_NO_ATTACH_CONSOLE":"1","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_NODE_CACHED_DATA_DIR":"/Users/steelphase/Library/Application Support/Code/CachedData/7c66f58312b48ed8ca4e387ebd9ffe9605332caa","VSCODE_LOGS":"/Users/steelphase/Library/Application Support/Code/logs/20190208T121524","VSCODE_IPC_HOOK":"/Users/steelphase/Library/Application Support/Code/1.31.0-main.sock","VSCODE_PID":"10326","AMD_ENTRYPOINT":"vs/workbench/services/extensions/node/extensionHostProcess","PIPE_LOGGING":"true","VERBOSE_LOGGING":"true","VSCODE_IPC_HOOK_EXTHOST":"/var/folders/0b/zk7t542s1sj_31mwpwyk3cy81gy8z8/T/vscode-ipc-57fdd6d7-50d6-40ac-a739-2e95ae5cc82c.sock","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_LOG_STACK":"false","VSCODE_PREVENT_FOREIGN_INSPECT":"true","CRASH_REPORTER_START_OPTIONS":"{\"companyName\":\"Microsoft\",\"productName\":\"VSCode\",\"submitURL\":\"https://rink.hockeyapp.net/api/2/apps/21a48a66799e47fea4f52c0ff81e803d/crashes/upload\",\"extra\":{\"vscode_version\":\"1.31.0\",\"vscode_commit\":\"7c66f58312b48ed8ca4e387ebd9ffe9605332caa\",\"vscode_sessionId\":\"e73e58a4-0d76-4d94-a64b-f1d0b97928591549646125290\",\"processName\":\"extensionHost\"},\"crashesDirectory\":\"/var/folders/0b/zk7t542s1sj_31mwpwyk3cy81gy8z8/T\"}","ELECTRON_RUN_AS_NODE":"1","GOROOT":"/usr/local/Cellar/go/1.11.5/libexec"},"args":[],"trace":"verbose","dlvToolPath":"/Users/steelphase/Code/Go/bin/dlv","currentFile":false,"__sessionId":"590fcdb9-07d1-4580-a695-eb49d7105531"})
[17:17:18.591 UTC] Using GOPATH: /Users/steelphase/Code/Go
[17:17:18.591 UTC] Current working directory: /Users/steelphase/Code/Go/src/github.com/steelphase/vscode-go-issues-2313
[17:17:18.592 UTC] Running: /Users/steelphase/Code/Go/bin/dlv debug github.com/steelphase/vscode-go-issues-2313 --headless=true --listen=127.0.0.1:42497 --api-version=2 --
[17:17:18.855 UTC] To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"API server listening at: 127.0.0.1:42497\n"}}
[17:17:19.065 UTC] To client: {"seq":0,"type":"event","event":"initialized"}
[17:17:19.065 UTC] InitializeEvent
[17:17:19.065 UTC] To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
[17:17:19.066 UTC] From client: setExceptionBreakpoints({"filters":[]})
[17:17:19.066 UTC] To client: {"seq":0,"type":"response","request_seq":3,"command":"setExceptionBreakpoints","success":true}
[17:17:19.102 UTC] From client: configurationDone(undefined)
[17:17:19.103 UTC] ConfigurationDoneRequest
[17:17:19.103 UTC] ContinueRequest
[17:17:19.104 UTC] To client: {"seq":0,"type":"response","request_seq":4,"command":"configurationDone","success":true}
[17:17:19.104 UTC] ContinueResponse
[17:17:19.109 UTC] To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"this does a thing\r\n"}}
[17:17:19.111 UTC] continue state {"Running":false,"Threads":null,"NextInProgress":false,"exited":true,"exitStatus":0,"When":""}
[17:17:19.111 UTC] To client: {"seq":0,"type":"event","event":"terminated"}
[17:17:19.111 UTC] TerminatedEvent
[17:17:19.113 UTC] From client: disconnect({"restart":false})
[17:17:19.113 UTC] DisconnectRequest
[17:17:19.113 UTC] HaltRequest
[17:17:19.114 UTC] From client: threads(undefined)
[17:17:19.114 UTC] ThreadsRequest
[17:17:19.115 UTC] [Error] Failed to halt - Process 10842 has exited with status 0
[17:17:19.115 UTC] DisconnectRequest to parent
[17:17:19.116 UTC] To client: {"seq":0,"type":"response","request_seq":5,"command":"disconnect","success":true}
[17:17:19.117 UTC] DisconnectResponse
[17:17:19.117 UTC] To client: {"seq":0,"type":"response","request_seq":6,"command":"threads","success":true,"body":{"threads":[]}}
settings.json
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels