We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For asking questions, see:
#vscode
Before filing an issue, please review our troubleshooting guides
Please answer these questions before submitting your issue. Thanks!
go version
go version go1.16.4 linux/amd64
gopls -v version
golang.org/x/tools/gopls v0.7.0 golang.org/x/tools/[email protected] h1:JQBHW81Gsyim6iDjUwGoPeSpXrSqwen3isPJLfDfaYU= github.com/BurntSushi/[email protected] h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/google/[email protected] h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/sergi/[email protected] h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= golang.org/x/[email protected] h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= golang.org/x/[email protected] h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/[email protected] h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE= golang.org/x/[email protected] h1:Pv9gNyJFYVdpUAVZYJ1BDSU4eGgXQ+0f3DIGAdolO5s= golang.org/x/[email protected] h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= honnef.co/go/[email protected] h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE= mvdan.cc/[email protected] h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA= mvdan.cc/xurls/[email protected] h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A= ```</p></details>
code -v
code-insiders -v
Go: Locate Configured Go Tools
```text Checking configured tools.... GOBIN: undefined toolsGopath: gopath: /home/liyuan/go GOROOT: /usr/local/go PATH: /home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/bin:/home/liyuan/.nvm/versions/node/v16.4.1/bin:/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/liyuan/go/bin:/usr/local/go/bin:/home/liyuan/go/bin gopkgs: /home/liyuan/go/bin/gopkgs installed go-outline: /home/liyuan/go/bin/go-outline installed gotests: /home/liyuan/go/bin/gotests installed gomodifytags: /home/liyuan/go/bin/gomodifytags installed impl: /home/liyuan/go/bin/impl installed goplay: /home/liyuan/go/bin/goplay installed dlv: /home/liyuan/go/bin/dlv installed dlv-dap: /home/liyuan/go/bin/dlv-dap installed staticcheck: /home/liyuan/go/bin/staticcheck installed gopls: /home/liyuan/go/bin/gopls installed go env Workspace Folder (ddd): /home/liyuan/app_git/ddd GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/liyuan/.cache/go-build" GOENV="/home/liyuan/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/liyuan/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/liyuan/go" GOPRIVATE="" GOPROXY="https://goproxy.cn" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.16.4" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/liyuan/app_git/ddd/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3966121558=/tmp/go-build -gno-record-gcc-switches" ``` </p></details>
Run Preferences: Open Settings (JSON) command to open your settings.json file. Share all the settings with the go. or ["go"] or gopls prefixes.
Preferences: Open Settings (JSON)
go.
["go"]
gopls
A small test case:
package aaa import ( "fmt" "strconv" "testing" ) func TestDDD(t *testing.T) { // fmt.Print("hello world\n") // t.Log("hello world") d := strconv.Itoa(1) a := "111" + d _ = a xx, _ := strconv.Atoi(a) fmt.Println(xx) strconv.Itoa(xx) }
.vscode/launch.json:
.vscode/launch.json
{ "version": "0.2.0", "configurations": [ { "name": "Launch Package", "type": "go", "request": "launch", "mode": "auto", "program": "${fileDirname}", "logOutput": "dap", "showLog": true, "trace": "verbose" } ]
VS Code debugging step into testing.go
Click VS Code's Run button, and then click Step Into
Run
Step Into
If applicable, add screenshots or recordings to help explain your problem.
Debug Console Output:
Starting: /home/liyuan/go/bin/dlv-dap dap --listen=127.0.0.1:44055 --log=true --log-output=dap --log-dest=3 DAP server listening at: 127.0.0.1:44055 2021-07-19T17:53:56+08:00 debug layer=dap DAP server pid = 1754177 2021-07-19T17:53:56+08:00 debug layer=dap [<- from client]{"seq":1,"type":"request","command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"go","locale":"zh-cn","linesStartAt1":true,"columnsStartAt1":true,"pathFormat":"path","supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"supportsProgressReporting":true,"supportsInvalidatedEvent":true}} 2021-07-19T17:53:56+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"supportsConfigurationDoneRequest":true,"supportsFunctionBreakpoints":true,"supportsConditionalBreakpoints":true,"supportsEvaluateForHovers":true,"supportsSetVariable":true,"supportsExceptionInfoRequest":true,"supportTerminateDebuggee":true,"supportsDelayedStackTraceLoading":true,"supportsClipboardContext":true}} 2021-07-19T17:53:56+08:00 debug layer=dap [<- from client]{"seq":2,"type":"request","command":"launch","arguments":{"__configurationTarget":5,"__sessionId":"fb07a719-978f-465b-aee1-73c3d4cfba66","apiVersion":2,"debugAdapter":"dlv-dap","dlvLoadConfig":{"followPointers":true,"maxArrayValues":64,"maxStringLen":64,"maxStructFields":-1,"maxVariableRecurse":1},"dlvToolPath":"/home/liyuan/go/bin/dlv-dap","env":{"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true","BROWSER":"/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/bin/helpers/browser.sh","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1001/bus","GOMODCACHE":"/home/liyuan/go/pkg/mod","GOPATH":"/home/liyuan/go","GOPROXY":"https://goproxy.cn","HOME":"/home/liyuan","LANG":"zh_CN.UTF-8","LC_ADDRESS":"zh_CN.UTF-8","LC_IDENTIFICATION":"zh_CN.UTF-8","LC_MEASUREMENT":"zh_CN.UTF-8","LC_MONETARY":"zh_CN.UTF-8","LC_NAME":"zh_CN.UTF-8","LC_NUMERIC":"zh_CN.UTF-8","LC_PAPER":"zh_CN.UTF-8","LC_TELEPHONE":"zh_CN.UTF-8","LC_TIME":"zh_CN.UTF-8","LESSCLOSE":"/usr/bin/lesspipe %s %s","LESSOPEN":"| /usr/bin/lesspipe %s","LOGNAME":"liyuan","LS_COLORS":"","MOTD_SHOWN":"pam","NVM_BIN":"/home/liyuan/.nvm/versions/node/v16.4.1/bin","NVM_CD_FLAGS":"","NVM_DIR":"/home/liyuan/.nvm","NVM_INC":"/home/liyuan/.nvm/versions/node/v16.4.1/include/node","OLDPWD":"/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3","PATH":"/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/bin:/home/liyuan/.nvm/versions/node/v16.4.1/bin:/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/liyuan/go/bin:/usr/local/go/bin:/home/liyuan/go/bin","PWD":"/home/liyuan","SHELL":"/bin/bash","SHLVL":"1","SSH_CLIENT":"192.168.0.127 59464 22","SSH_CONNECTION":"192.168.0.127 59464 192.168.0.103 22","USER":"liyuan","VSCODE_AGENT_FOLDER":"/home/liyuan/.vscode-server","VSCODE_AMD_ENTRYPOINT":"vs/server/remoteExtensionHostProcess","VSCODE_CWD":"/home/liyuan","VSCODE_EXTHOST_WILL_SEND_SOCKET":"true","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH":"/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/remote/node_modules","VSCODE_IPC_HOOK_CLI":"/run/user/1001/vscode-ipc-8717da3a-c8c0-420f-9bfc-7181f64e7634.sock","VSCODE_LOG_NATIVE":"false","VSCODE_LOG_STACK":"false","VSCODE_NLS_CONFIG":"{\"locale\":\"en\",\"availableLanguages\":{}}","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","XDG_DATA_DIRS":"/usr/local/share:/usr/share:/var/lib/snapd/desktop","XDG_RUNTIME_DIR":"/run/user/1001","XDG_SESSION_CLASS":"user","XDG_SESSION_ID":"66","XDG_SESSION_TYPE":"tty","_":"/home/liyuan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/node"},"logOutput":"dap","mode":"test","name":"Launch Package","packagePathToGoModPathMap":{"/home/liyuan/app_git/ddd/aaa":"/home/liyuan/app_git/ddd"},"program":"/home/liyuan/app_git/ddd/aaa","request":"launch","showGlobalVariables":false,"showLog":true,"substitutePath":[],"trace":"verbose","type":"go"}} 2021-07-19T17:53:56+08:00 debug layer=dap building binary at /home/liyuan/app_git/ddd/aaa/__debug_bin 2021-07-19T17:53:56+08:00 debug layer=dap running program in /home/liyuan/app_git/ddd/aaa 2021-07-19T17:53:56+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"initialized"} 2021-07-19T17:53:56+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":2,"success":true,"command":"launch"} 2021-07-19T17:53:56+08:00 debug layer=dap [<- from client]{"seq":3,"type":"request","command":"setBreakpoints","arguments":{"source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"breakpoints":[{"line":10},{"line":12}],"lines":[10,12]}} 2021-07-19T17:53:56+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"verified":false,"message":"could not find statement at /home/liyuan/app_git/ddd/aaa/aaa_test.go:10, please use a line with a statement","source":{}},{"id":1,"verified":true,"source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":12}]}} 2021-07-19T17:53:56+08:00 debug layer=dap [<- from client]{"seq":4,"type":"request","command":"setFunctionBreakpoints","arguments":{"breakpoints":[]}} 2021-07-19T17:53:56+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} 2021-07-19T17:53:57+08:00 debug layer=dap [<- from client]{"seq":5,"type":"request","command":"configurationDone","arguments":{}} 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":5,"success":true,"command":"configurationDone"} 2021-07-19T17:53:57+08:00 debug layer=dap "continue" command stopped - reason "breakpoint", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:12 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"breakpoint","threadId":6,"allThreadsStopped":true,"hitBreakpointIds":[1]}} 2021-07-19T17:53:57+08:00 debug layer=dap [<- from client]{"seq":6,"type":"request","command":"threads"} 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":6,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:53:57+08:00 debug layer=dap [<- from client]{"seq":7,"type":"request","command":"threads"} 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":7,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:53:57+08:00 debug layer=dap [<- from client]{"seq":8,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":8,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":12,"column":0}],"totalFrames":3}} 2021-07-19T17:53:57+08:00 debug layer=dap [<- from client]{"seq":9,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":1,"levels":19,"format":{}}} 2021-07-19T17:53:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":9,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1004,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1005,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:53:59+08:00 debug layer=dap [<- from client]{"seq":10,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":10,"success":true,"command":"stepIn"} 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:53:59+08:00 debug layer=dap "step" command stopped - reason "next finished", location /usr/local/go/src/strconv/itoa.go:34 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:53:59+08:00 debug layer=dap [<- from client]{"seq":11,"type":"request","command":"threads"} 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":11,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] strconv.Itoa (Thread 1754327)"}]}} 2021-07-19T17:53:59+08:00 debug layer=dap [<- from client]{"seq":12,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":12,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"strconv.Itoa","source":{"name":"itoa.go","path":"/usr/local/go/src/strconv/itoa.go"},"line":34,"column":0}],"totalFrames":4}} 2021-07-19T17:53:59+08:00 debug layer=dap [<- from client]{"seq":13,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:53:59+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1004,"name":"strconv.Itoa","source":{"name":"itoa.go","path":"/usr/local/go/src/strconv/itoa.go"},"line":34,"column":0},{"id":1005,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":12,"column":0},{"id":1006,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1007,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":4}} 2021-07-19T17:54:00+08:00 debug layer=dap [<- from client]{"seq":14,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:00+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":14,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1008,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1009,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1010,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1011,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1012,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1013,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1014,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1015,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1016,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1017,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1018,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:00+08:00 debug layer=dap [<- from client]{"seq":15,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":4,"levels":19,"format":{}}} 2021-07-19T17:54:00+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":15,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":4}} 2021-07-19T17:54:02+08:00 debug layer=dap [<- from client]{"seq":16,"type":"request","command":"stepOut","arguments":{"threadId":6}} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":16,"success":true,"command":"stepOut"} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:02+08:00 debug layer=dap "stepOut" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:12 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:02+08:00 debug layer=dap [<- from client]{"seq":17,"type":"request","command":"threads"} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":17,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:02+08:00 debug layer=dap [<- from client]{"seq":18,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":18,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":12,"column":0}],"totalFrames":3}} 2021-07-19T17:54:02+08:00 debug layer=dap [<- from client]{"seq":19,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":19,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:02+08:00 debug layer=dap [<- from client]{"seq":20,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:02+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":20,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":12,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:03+08:00 debug layer=dap [<- from client]{"seq":21,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:03+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":21,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:05+08:00 debug layer=dap [<- from client]{"seq":22,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":22,"success":true,"command":"stepIn"} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:05+08:00 debug layer=dap "step" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:13 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:05+08:00 debug layer=dap [<- from client]{"seq":23,"type":"request","command":"threads"} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":23,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:05+08:00 debug layer=dap [<- from client]{"seq":24,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":24,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":13,"column":0}],"totalFrames":3}} 2021-07-19T17:54:05+08:00 debug layer=dap [<- from client]{"seq":25,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":25,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:05+08:00 debug layer=dap [<- from client]{"seq":26,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:05+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":26,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":13,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":27,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":27,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":28,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":28,"success":true,"command":"stepIn"} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:06+08:00 debug layer=dap "step" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:15 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":29,"type":"request","command":"threads"} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":29,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":30,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":30,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":15,"column":0}],"totalFrames":3}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":31,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":31,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:06+08:00 debug layer=dap [<- from client]{"seq":32,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:06+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":32,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":15,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:07+08:00 debug layer=dap [<- from client]{"seq":33,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:07+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":33,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:07+08:00 debug layer=dap [<- from client]{"seq":34,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:07+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":34,"success":true,"command":"stepIn"} 2021-07-19T17:54:07+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:07+08:00 debug layer=dap "step" command stopped - reason "next finished", location /usr/local/go/src/strconv/atoi.go:224 2021-07-19T17:54:07+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:08+08:00 debug layer=dap [<- from client]{"seq":35,"type":"request","command":"threads"} 2021-07-19T17:54:08+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":35,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] strconv.Atoi (Thread 1754327)"}]}} 2021-07-19T17:54:08+08:00 debug layer=dap [<- from client]{"seq":36,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:08+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":36,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"strconv.Atoi","source":{"name":"atoi.go","path":"/usr/local/go/src/strconv/atoi.go"},"line":224,"column":0}],"totalFrames":4}} 2021-07-19T17:54:08+08:00 debug layer=dap [<- from client]{"seq":37,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:08+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":37,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1004,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1005,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1006,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1007,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1008,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1009,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1010,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1011,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1012,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1013,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1014,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:08+08:00 debug layer=dap [<- from client]{"seq":38,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:08+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":38,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1015,"name":"strconv.Atoi","source":{"name":"atoi.go","path":"/usr/local/go/src/strconv/atoi.go"},"line":224,"column":0},{"id":1016,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":15,"column":0},{"id":1017,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1018,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":4}} 2021-07-19T17:54:08+08:00 debug layer=dap [<- from client]{"seq":39,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":4,"levels":19,"format":{}}} 2021-07-19T17:54:08+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":39,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":4}} 2021-07-19T17:54:09+08:00 debug layer=dap [<- from client]{"seq":40,"type":"request","command":"stepOut","arguments":{"threadId":6}} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":40,"success":true,"command":"stepOut"} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:09+08:00 debug layer=dap "stepOut" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:15 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:09+08:00 debug layer=dap [<- from client]{"seq":41,"type":"request","command":"threads"} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":41,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:09+08:00 debug layer=dap [<- from client]{"seq":42,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":42,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":15,"column":0}],"totalFrames":3}} 2021-07-19T17:54:09+08:00 debug layer=dap [<- from client]{"seq":43,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":43,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:09+08:00 debug layer=dap [<- from client]{"seq":44,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:09+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":44,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":15,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:10+08:00 debug layer=dap [<- from client]{"seq":45,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:10+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":45,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:10+08:00 debug layer=dap [<- from client]{"seq":46,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:10+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":46,"success":true,"command":"stepIn"} 2021-07-19T17:54:10+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:10+08:00 debug layer=dap "step" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:16 2021-07-19T17:54:10+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:10+08:00 debug layer=dap [<- from client]{"seq":47,"type":"request","command":"threads"} 2021-07-19T17:54:10+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":47,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:11+08:00 debug layer=dap [<- from client]{"seq":48,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":48,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":16,"column":0}],"totalFrames":3}} 2021-07-19T17:54:11+08:00 debug layer=dap [<- from client]{"seq":49,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":49,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:11+08:00 debug layer=dap [<- from client]{"seq":50,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":1,"levels":19,"format":{}}} 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":50,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:11+08:00 debug layer=dap [<- from client]{"seq":51,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":51,"success":true,"command":"stepIn"} 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:11+08:00 debug layer=dap "step" command stopped - reason "next finished", location /usr/local/go/src/fmt/print.go:273 2021-07-19T17:54:11+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:12+08:00 debug layer=dap [<- from client]{"seq":52,"type":"request","command":"threads"} 2021-07-19T17:54:12+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":52,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] fmt.Println (Thread 1754327)"}]}} 2021-07-19T17:54:12+08:00 debug layer=dap [<- from client]{"seq":53,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:12+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":53,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"fmt.Println","source":{"name":"print.go","path":"/usr/local/go/src/fmt/print.go"},"line":273,"column":0}],"totalFrames":4}} 2021-07-19T17:54:12+08:00 debug layer=dap [<- from client]{"seq":54,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:12+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":54,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1004,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1005,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1006,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1007,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1008,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1009,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1010,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1011,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1012,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1013,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1014,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:12+08:00 debug layer=dap [<- from client]{"seq":55,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":1,"levels":19,"format":{}}} 2021-07-19T17:54:12+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":55,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1016,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":16,"column":0},{"id":1017,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1018,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":4}} 2021-07-19T17:54:13+08:00 debug layer=dap [<- from client]{"seq":56,"type":"request","command":"stepOut","arguments":{"threadId":6}} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":56,"success":true,"command":"stepOut"} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 1111 2021-07-19T17:54:13+08:00 debug layer=dap "stepOut" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:17 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:13+08:00 debug layer=dap [<- from client]{"seq":57,"type":"request","command":"threads"} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":57,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:13+08:00 debug layer=dap [<- from client]{"seq":58,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":58,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":17,"column":0}],"totalFrames":3}} 2021-07-19T17:54:13+08:00 debug layer=dap [<- from client]{"seq":59,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":59,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:13+08:00 debug layer=dap [<- from client]{"seq":60,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:13+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":60,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":17,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:14+08:00 debug layer=dap [<- from client]{"seq":61,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:14+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":61,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:14+08:00 debug layer=dap [<- from client]{"seq":62,"type":"request","command":"stepIn","arguments":{"threadId":6}} 2021-07-19T17:54:14+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":62,"success":true,"command":"stepIn"} 2021-07-19T17:54:14+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:14+08:00 debug layer=dap "step" command stopped - reason "next finished", location /usr/local/go/src/strconv/itoa.go:34 2021-07-19T17:54:14+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:14+08:00 debug layer=dap [<- from client]{"seq":63,"type":"request","command":"threads"} 2021-07-19T17:54:14+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":63,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] strconv.Itoa (Thread 1754327)"}]}} 2021-07-19T17:54:15+08:00 debug layer=dap [<- from client]{"seq":64,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:15+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":64,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"strconv.Itoa","source":{"name":"itoa.go","path":"/usr/local/go/src/strconv/itoa.go"},"line":34,"column":0}],"totalFrames":4}} 2021-07-19T17:54:15+08:00 debug layer=dap [<- from client]{"seq":65,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:15+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":65,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1004,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1005,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1006,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1007,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1008,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1009,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1010,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1011,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1012,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1013,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1014,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:15+08:00 debug layer=dap [<- from client]{"seq":66,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":1,"levels":19,"format":{}}} 2021-07-19T17:54:15+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":66,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1016,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":17,"column":0},{"id":1017,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1018,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":4}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":67,"type":"request","command":"stepOut","arguments":{"threadId":6}} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":67,"success":true,"command":"stepOut"} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"continued","body":{"threadId":6,"allThreadsContinued":true}} 2021-07-19T17:54:16+08:00 debug layer=dap "stepOut" command stopped - reason "next finished", location /home/liyuan/app_git/ddd/aaa/aaa_test.go:18 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"stopped","body":{"reason":"step","threadId":6,"allThreadsStopped":true}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":68,"type":"request","command":"threads"} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":68,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"[Go 1] testing.(*T).Run"},{"id":2,"name":"[Go 2] runtime.gopark"},{"id":3,"name":"[Go 3] runtime.gopark"},{"id":4,"name":"[Go 4] runtime.gopark"},{"id":5,"name":"[Go 5] runtime.gopark"},{"id":6,"name":"* [Go 6] ddd/aaa.TestDDD (Thread 1754327)"}]}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":69,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":1,"format":{}}} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":69,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":18,"column":0}],"totalFrames":3}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":70,"type":"request","command":"stackTrace","arguments":{"threadId":1,"levels":20,"format":{}}} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":70,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1003,"name":"runtime.gopark","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":337,"column":0},{"id":1004,"name":"runtime.chanrecv","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":576,"column":0},{"id":1005,"name":"runtime.chanrecv1","source":{"name":"chan.go","path":"/usr/local/go/src/runtime/chan.go","presentationHint":"deemphasize"},"line":439,"column":0},{"id":1006,"name":"testing.(*T).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1239,"column":0},{"id":1007,"name":"testing.runTests.func1","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1511,"column":0},{"id":1008,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1009,"name":"testing.runTests","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1509,"column":0},{"id":1010,"name":"testing.(*M).Run","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1417,"column":0},{"id":1011,"name":"main.main","source":{"name":"_testmain.go","path":"_testmain.go"},"line":43,"column":0},{"id":1012,"name":"runtime.main","source":{"name":"proc.go","path":"/usr/local/go/src/runtime/proc.go","presentationHint":"deemphasize"},"line":225,"column":0},{"id":1013,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":11}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":71,"type":"request","command":"stackTrace","arguments":{"threadId":6,"levels":20,"format":{}}} 2021-07-19T17:54:16+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":71,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1014,"name":"ddd/aaa.TestDDD","source":{"name":"aaa_test.go","path":"/home/liyuan/app_git/ddd/aaa/aaa_test.go"},"line":18,"column":0},{"id":1015,"name":"testing.tRunner","source":{"name":"testing.go","path":"/usr/local/go/src/testing/testing.go"},"line":1193,"column":0},{"id":1016,"name":"runtime.goexit","source":{"name":"asm_amd64.s","path":"/usr/local/go/src/runtime/asm_amd64.s","presentationHint":"deemphasize"},"line":1371,"column":0}],"totalFrames":3}} 2021-07-19T17:54:16+08:00 debug layer=dap [<- from client]{"seq":72,"type":"request","command":"stackTrace","arguments":{"threadId":6,"startFrame":3,"levels":19,"format":{}}} 2021-07-19T17:54:17+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":72,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":3}} 2021-07-19T17:54:17+08:00 debug layer=dap [<- from client]{"seq":73,"type":"request","command":"continue","arguments":{"threadId":6}} 2021-07-19T17:54:17+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":73,"success":true,"command":"continue","body":{"allThreadsContinued":true}} PASS 2021-07-19T17:54:17+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"terminated","body":{}} 2021-07-19T17:54:18+08:00 debug layer=dap [<- from client]{"seq":74,"type":"request","command":"disconnect","arguments":{}} 2021-07-19T17:54:18+08:00 debug layer=dap halt returned state: Process 1754327 has exited with status 0 2021-07-19T17:54:18+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Process 1754327 has exited with status 0\n","source":{}}} 2021-07-19T17:54:18+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Detaching\n","source":{}}} 2021-07-19T17:54:18+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":74,"success":true,"command":"disconnect"} 2021-07-19T17:54:18+08:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"terminated","body":{}} 2021-07-19T17:54:18+08:00 debug layer=dap DAP server stopping... Process 1754327 has exited with status 0 Detaching 2021-07-19T17:54:18+08:00 debug layer=dap DAP server stopped dlv dap (1754177) exited with code: 0
The screen recording: https://user-images.githubusercontent.com/23572982/126143806-d756b329-6a6c-4bac-b73b-640c4b6a0ebb.mov
The text was updated successfully, but these errors were encountered:
Thanks for including the code to reproduce this issue! I was able to reproduce locally and verify that PR go-delve/delve#2594 fixes the issue.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
For asking questions, see:
#vscode
channel in Gophers SlackBefore filing an issue, please review our troubleshooting guides
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.go version go1.16.4 linux/amd64
gopls -v version
to get version of Gopls from the VS Code integrated terminal.Build info
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Go: Locate Configured Go Tools
Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.A small test case:
.vscode/launch.json
:Describe the bug
VS Code debugging step into testing.go
Steps to reproduce the behavior:
Click VS Code's
Run
button, and then clickStep Into
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
Debug Console Output:
Debug Console Output
The screen recording:
https://user-images.githubusercontent.com/23572982/126143806-d756b329-6a6c-4bac-b73b-640c4b6a0ebb.mov
The text was updated successfully, but these errors were encountered: