Skip to content

Instantly share code, notes, and snippets.

@trevorwhitney
Last active October 8, 2024 21:02
Show Gist options
  • Save trevorwhitney/92c87013a9f83149506fec03d60a2b86 to your computer and use it in GitHub Desktop.
Save trevorwhitney/92c87013a9f83149506fec03d60a2b86 to your computer and use it in GitHub Desktop.
nvim-dap logs
[debug-adapter stderr] 2024-10-08T14:38:50-06:00 debug layer=dap DAP connection 1 started
2024-10-08T14:38:50-06:00 debug layer=dap [<- from client]{"seq":1,"type":"request","command":"initialize","arguments":{"clientID":"neovim","clientName":"neovim","adapterID":"nvim-dap","locale":"en_US.UTF-8","linesStartAt1":true,"columnsStartAt1":true,"pathFormat":"path","supportsVariableType":true,"supportsRunInTerminalRequest":true,"supportsProgressReporting":true,"supportsStartDebuggingRequest":true}}
2024-10-08T14:38:50-06: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,"supportsDelayedStackTraceLoading":true,"supportsLogPoints":true,"supportsDisassembleRequest":true,"supportsClipboardContext":true,"supportsSteppingGranularity":true,"supportsInstructionBreakpoints":true}}
[debug-adapter stderr] 2024-10-08T14:38:50-06:00 debug layer=dap [<- from client]{"seq":2,"type":"request","command":"launch","arguments":{"args":["-config.file=\/Users\/twhitney\/workspace\/loki\/cmd\/loki\/loki-local-config.yaml"],"request":"launch","program":"\/Users\/twhitney\/workspace\/loki\/cmd\/loki\/main.go","name":"Debug (Arguments)","type":"go","buildFlags":""}}
2024-10-08T14:38:50-06:00 debug layer=dap parsed launch config: {
"mode": "debug",
"program": "/Users/twhitney/workspace/loki/cmd/loki/main.go",
"args": [
"-config.file=/Users/twhitney/workspace/loki/cmd/loki/loki-local-config.yaml"
],
"buildFlags": {},
"backend": "default",
"stackTraceDepth": 50
}
[debug-adapter stderr] 2024-10-08T14:38:57-06:00 debug layer=dap building from "/Users/twhitney/workspace/loki": [go build -o /Users/twhitney/workspace/loki/__debug_bin4138714687 -gcflags all=-N -l /Users/twhitney/workspace/loki/cmd/loki/main.go]
[debug-adapter stderr] 2024-10-08T14:38:57-06:00 debug layer=dap launching binary '/Users/twhitney/workspace/loki/__debug_bin4138714687' with config: {
"mode": "debug",
"program": "/Users/twhitney/workspace/loki/cmd/loki/main.go",
"args": [
"-config.file=/Users/twhitney/workspace/loki/cmd/loki/loki-local-config.yaml"
],
"cwd": "/Users/twhitney/workspace/loki",
"buildFlags": {},
"output": "/Users/twhitney/workspace/loki/__debug_bin4138714687",
"dlvCwd": "/Users/twhitney/workspace/loki",
"backend": "default",
"stackTraceDepth": 50
}
[debug-adapter stderr] 2024-10-08T14:38:57-06:00 info layer=debugger launching process with args: [/Users/twhitney/workspace/loki/__debug_bin4138714687 -config.file=/Users/twhitney/workspace/loki/cmd/loki/loki-local-config.yaml]
[debug-adapter stderr] 2024-10-08T14:38:58-06:00 debug layer=debugger entryPoint 0x100aa0000 machoOff 0x100000000
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 warning layer=debugger debug_frame workaround not applied: function internal/abi.(*RegArgs).Dump (at 0x100aa1070) covered by 0x100aa1070-0x100aa1230
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=debugger Adding target 65025 "/Users/twhitney/workspace/loki/__debug_bin4138714687 -config.file=/Users/twhitney/workspace/loki/cmd/loki/loki-local-config.yaml"
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"initialized"}
2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":2,"success":true,"command":"launch"}
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap [<- from client]{"seq":3,"type":"request","command":"configurationDone"}
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Type 'dlv help' for list of commands.\n"}}
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":3,"success":true,"command":"configurationDone"}
Type 'dlv help' for list of commands.
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=debugger continuing
2024-10-08T14:38:59-06:00 debug layer=debugger ContinueOnce
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"terminated","body":{}}
[debug-adapter stderr] 2024-10-08T14:38:59-06:00 debug layer=dap DAP server stopping...
2024-10-08T14:38:59-06:00 debug layer=dap halting
2024-10-08T14:38:59-06:00 debug layer=dap process not running
2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Process 65025 has exited with status 11\n"}}
2024-10-08T14:38:59-06:00 debug layer=dap [-> to client]{"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Detaching\n"}}
2024-10-08T14:38:59-06:00 debug layer=debugger detaching
2024-10-08T14:38:59-06:00 debug layer=dap DAP error: read tcp 127.0.0.1:51432->127.0.0.1:51434: use of closed network connection
2024-10-08T14:38:59-06:00 debug layer=dap DAP server stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment