codelldb
codelldb copied to clipboard
Remote debugging not copying binary
OS:
macOS 12.2.1
DietPi 8.2.2 (Debian 11 5.10.0-13-amd64) (remote)
VSCode version:
1.65.2
CodeLLDB version:
1.7.0
Compiler:
rustc 1.59.0
Debuggee:
x86_64-unknown-linux-gnu
When remote debugging, it doesn't copy the binary over to the remote system anymore. Seems to be a regression from 1.6.10.
Verbose log
configuration: { name: 'Rust Debug Launch', type: 'lldb', request: 'launch', program: '${workspaceFolder}/dietpi-dashboard', initCommands: [ 'platform select remote-linux', 'platform connect connect://localhost:5000', 'settings set target.inherit-env false' ], __configurationTarget: 5, relativePathBase: '/Users/user/Documents/Code/GitHub/DietPi-Dashboard' } liblldb: /Users/user/.vscode-oss/extensions/vadimcn.vscode-lldb-1.7.0-dev.2203050758/lldb/lib/liblldb.dylib environment: {} params: { evaluateForHovers: true, commandCompletions: true } [2022-03-29T23:38:13.778Z DEBUG codelldb] New debug session INFO(Python) 18:38:14 formatters: Initializing INFO(Python) 18:38:14 formatters.rust: Initializing [2022-03-29T23:38:14.017Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"VSCodium","adapterID":"lldb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true},"type":"request","seq":1} [2022-03-29T23:38:14.018Z DEBUG codelldb::dap_codec] {"command":"launch","arguments":{"name":"Rust Debug Launch","type":"lldb","request":"launch","program":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard","initCommands":["platform select remote-linux","platform connect connect://localhost:5000","settings set target.inherit-env false"],"__configurationTarget":5,"relativePathBase":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"8155f41a-c0e6-4f04-9a3c-301f61a36a45"},"type":"request","seq":2} [2022-03-29T23:38:14.026Z DEBUG codelldb::dap_codec] SuccessFinishResult, Error: Success Output Message: Platform: remote-linux Connected: no[2022-03-29T23:38:14.026Z DEBUG codelldb::dap_codec] <-- {"seq":5,"type":"event","event":"output","body":{"output":" Platform: remote-linux\n Connected: no\n\n"}} [2022-03-29T23:38:14.033Z DEBUG codelldb::debug_session] platform connect connect://localhost:5000 -> SuccessFinishResult, Error: Success Output Message: Platform: remote-linux Triple: x86_64-pc-linux-gnu OS Version: 5.10.0 (5.10.0-13-amd64) Hostname: DietPi Connected: yes WorkingDir: /root Kernel: #1 SMP Debian 5.10.106-1 (2022-03-17)
[2022-03-29T23:38:14.033Z DEBUG codelldb::dap_codec] <-- {"seq":6,"type":"event","event":"output","body":{"output":" Platform: remote-linux\n Triple: x86_64-pc-linux-gnu\nOS Version: 5.10.0 (5.10.0-13-amd64)\n Hostname: DietPi\n Connected: yes\nWorkingDir: /root\n Kernel: #1 SMP Debian 5.10.106-1 (2022-03-17)\n\n"}} [2022-03-29T23:38:14.033Z DEBUG codelldb::debug_session] settings set target.inherit-env false -> SuccessFinishResult, Error: Success [2022-03-29T23:38:14.599Z DEBUG codelldb::debug_session] Debug event: 0x6000038d0c58 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {dietpi-dashboard} [2022-03-29T23:38:14.599Z DEBUG codelldb::dap_codec] <-- {"seq":7,"type":"event","event":"initialized"} [2022-03-29T23:38:14.599Z DEBUG codelldb::dap_codec] <-- {"seq":8,"type":"event","event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"dietpi-dashboard","path":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard","symbolFilePath":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.606Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":3} [2022-03-29T23:38:14.606Z DEBUG codelldb::dap_codec] <-- {"seq":9,"type":"response","request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} [2022-03-29T23:38:14.612Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4} [2022-03-29T23:38:14.612Z DEBUG codelldb::dap_codec] <-- {"seq":10,"type":"response","request_seq":4,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}} [2022-03-29T23:38:14.618Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["cpp_throw"]},"type":"request","seq":5} [2022-03-29T23:38:14.618Z DEBUG codelldb::debug_session] Debug event: 0x6000038c9518 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-03-29T23:38:14.618Z DEBUG codelldb::dap_codec] <-- {"seq":11,"type":"response","request_seq":5,"success":true,"command":"setExceptionBreakpoints"} [2022-03-29T23:38:14.622Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":6} [2022-03-29T23:38:14.622Z DEBUG codelldb::dap_codec] <-- {"seq":12,"type":"event","event":"output","body":{"output":"Launching: /Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard\n"}} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":13,"type":"event","event":"output","body":{"output":"Launched process 1985\n"}} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":14,"type":"response","request_seq":2,"success":true,"command":"launch"} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":15,"type":"response","request_seq":6,"success":true,"command":"configurationDone"} [2022-03-29T23:38:14.822Z DEBUG codelldb::debug_session] Debug event: 0x6000023a0150 Event: broadcaster = 0x7fc8e68a5850 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x7fc8e68a5818 (pid = 1985), state = connected} [2022-03-29T23:38:14.822Z DEBUG codelldb::debug_session] Debug event: 0x6000038e0018 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so} [2022-03-29T23:38:14.822Z DEBUG codelldb::debug_session] Debug event: 0x6000038c57d8 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {vdso} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":16,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FD2000","id":"7FFFF7FD2000","name":"ld-2.31.so","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":17,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FD0000","id":"7FFFF7FD0000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2022-03-29T23:38:14.822Z DEBUG codelldb::debug_session] Debug event: 0x6000038c5798 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {dietpi-dashboard} [2022-03-29T23:38:14.822Z DEBUG codelldb::debug_session] Debug event: 0x6000023a00f0 Event: broadcaster = 0x7fc8e68a5850 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x7fc8e68a5818 (pid = 1985), state = running} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":18,"type":"event","event":"module","body":{"module":{"addressRange":"555555554000","id":"555555554000","name":"dietpi-dashboard","path":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard","symbolFilePath":"/Users/user/Documents/Code/GitHub/DietPi-Dashboard/dietpi-dashboard","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.822Z DEBUG codelldb::dap_codec] <-- {"seq":19,"type":"event","event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2022-03-29T23:38:14.828Z DEBUG codelldb::debug_session] Debug event: 0x6000038d0498 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so} [2022-03-29T23:38:14.828Z DEBUG codelldb::dap_codec] <-- {"seq":20,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FD2000","id":"7FFFF7FD2000","name":"ld-2.31.so","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.831Z DEBUG codelldb::debug_session] Debug event: 0x6000038f08d8 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so, vdso} [2022-03-29T23:38:14.831Z DEBUG codelldb::dap_codec] <-- {"seq":21,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FD2000","id":"7FFFF7FD2000","name":"ld-2.31.so","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/32438EB3-B034-DA54-CAF5-8C7A65446639-F7CFE274/ld-2.31.so","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.831Z DEBUG codelldb::dap_codec] <-- {"seq":22,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FD0000","id":"7FFFF7FD0000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2022-03-29T23:38:14.848Z DEBUG codelldb::debug_session] Debug event: 0x6000038f48d8 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1} [2022-03-29T23:38:14.848Z DEBUG codelldb::dap_codec] <-- {"seq":23,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FAC000","id":"7FFFF7FAC000","name":"libgcc_s.so.1","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/596409BC-4E94-583E-F18F-141C9B941A46-540868EE/libgcc_s.so.1","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/596409BC-4E94-583E-F18F-141C9B941A46-540868EE/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.850Z DEBUG codelldb::debug_session] Debug event: 0x6000038f4fd8 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {librt.so.1} [2022-03-29T23:38:14.850Z DEBUG codelldb::dap_codec] <-- {"seq":24,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FA1000","id":"7FFFF7FA1000","name":"librt.so.1","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/82C24B25-8067-5FB3-117B-9BCD3577F880-4508CDFA/librt.so.1","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/82C24B25-8067-5FB3-117B-9BCD3577F880-4508CDFA/librt.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.854Z DEBUG codelldb::debug_session] Debug event: 0x6000038d2c58 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libpthread.so.0} [2022-03-29T23:38:14.854Z DEBUG codelldb::dap_codec] <-- {"seq":25,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7F7F000","id":"7FFFF7F7F000","name":"libpthread.so.0","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/5018237B-BF01-2B40-9402-7FD0B96FC22A-24496EA4/libpthread.so.0","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/5018237B-BF01-2B40-9402-7FD0B96FC22A-24496EA4/libpthread.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.859Z DEBUG codelldb::debug_session] Debug event: 0x6000038d9c58 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libm.so.6} [2022-03-29T23:38:14.859Z DEBUG codelldb::dap_codec] <-- {"seq":26,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7E3B000","id":"7FFFF7E3B000","name":"libm.so.6","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/E9D2C064-79B1-3DD3-CFA7-8D714D11DCCF-6FCBEE51/libm.so.6","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/E9D2C064-79B1-3DD3-CFA7-8D714D11DCCF-6FCBEE51/libm.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.861Z DEBUG codelldb::debug_session] Debug event: 0x6000038d2fd8 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2} [2022-03-29T23:38:14.861Z DEBUG codelldb::dap_codec] <-- {"seq":27,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7E35000","id":"7FFFF7E35000","name":"libdl.so.2","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/118B9016-1526-D181-8078-18C459BAEE84-1993795B/libdl.so.2","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/118B9016-1526-D181-8078-18C459BAEE84-1993795B/libdl.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.867Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":7} [2022-03-29T23:38:14.867Z DEBUG codelldb::dap_codec] <-- {"seq":28,"type":"response","request_seq":7,"success":true,"command":"threads","body":{"threads":[{"id":1985,"name":"1: tid=1985 "dietpi-dashboar""}]}} [2022-03-29T23:38:14.870Z DEBUG codelldb::debug_session] Debug event: 0x6000038f0918 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc.so.6} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":29,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7C70000","id":"7FFFF7C70000","name":"libc.so.6","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/2E5ABCEE-94F3-BCBE-D7BB-A094F341070A-2585A2BA/libc.so.6","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/2E5ABCEE-94F3-BCBE-D7BB-A094F341070A-2585A2BA/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::debug_session] Debug event: 0x6000038c9518 Event: broadcaster = 0x7fc8e22b1640 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1, librt.so.1, libpthread.so.0, libm.so.6, libdl.so.2, libc.so.6} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":30,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FAC000","id":"7FFFF7FAC000","name":"libgcc_s.so.1","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/596409BC-4E94-583E-F18F-141C9B941A46-540868EE/libgcc_s.so.1","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/596409BC-4E94-583E-F18F-141C9B941A46-540868EE/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":31,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FA1000","id":"7FFFF7FA1000","name":"librt.so.1","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/82C24B25-8067-5FB3-117B-9BCD3577F880-4508CDFA/librt.so.1","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/82C24B25-8067-5FB3-117B-9BCD3577F880-4508CDFA/librt.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":32,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7F7F000","id":"7FFFF7F7F000","name":"libpthread.so.0","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/5018237B-BF01-2B40-9402-7FD0B96FC22A-24496EA4/libpthread.so.0","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/5018237B-BF01-2B40-9402-7FD0B96FC22A-24496EA4/libpthread.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":33,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7E3B000","id":"7FFFF7E3B000","name":"libm.so.6","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/E9D2C064-79B1-3DD3-CFA7-8D714D11DCCF-6FCBEE51/libm.so.6","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/E9D2C064-79B1-3DD3-CFA7-8D714D11DCCF-6FCBEE51/libm.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":34,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7E35000","id":"7FFFF7E35000","name":"libdl.so.2","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/118B9016-1526-D181-8078-18C459BAEE84-1993795B/libdl.so.2","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/118B9016-1526-D181-8078-18C459BAEE84-1993795B/libdl.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.870Z DEBUG codelldb::dap_codec] <-- {"seq":35,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7C70000","id":"7FFFF7C70000","name":"libc.so.6","path":"/Users/user/.lldb/module_cache/remote-linux/.cache/2E5ABCEE-94F3-BCBE-D7BB-A094F341070A-2585A2BA/libc.so.6","symbolFilePath":"/Users/user/.lldb/module_cache/remote-linux/.cache/2E5ABCEE-94F3-BCBE-D7BB-A094F341070A-2585A2BA/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-03-29T23:38:14.876Z DEBUG codelldb::debug_session] Debug event: 0x6000038dc1d8 Event: broadcaster = 0x7fc8e68a5850 (lldb.process), type = 0x00000004 (stdout-available), data = { process = 0x7fc8e68a5818 (pid = 1985), state = running} [2022-03-29T23:38:14.876Z DEBUG codelldb::dap_codec] <-- {"seq":36,"type":"event","event":"output","body":{"category":"stdout","output":"TRACE [mio::poll] registering event source with poller: token=Token(0), interests=READABLE | WRITABLE\r\n\u001b[36mINFO\u001b[0m [warp::server] Server::run; addr=0.0.0.0:5252\r\n\u001b[36mINFO\u001b[0m [warp::server] listening on http://0.0.0.0:5252 \r\nTRACE [tracing::span::active] -> Server::run\r\nTRACE [tracing::span::active] <- Server::run\r\n"}} [2022-03-29T23:38:18.455Z DEBUG codelldb::dap_codec] --> {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":true},"type":"request","seq":8} [2022-03-29T23:38:18.585Z DEBUG codelldb::debug_session] Debug event: 0x6000023a0390 Event: broadcaster = 0x7fc8e68a5850 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x7fc8e68a5818 (pid = 1985), state = exited} [2022-03-29T23:38:18.585Z DEBUG codelldb::dap_codec] <-- {"seq":37,"type":"response","request_seq":8,"success":true,"command":"disconnect"} [2022-03-29T23:38:18.585Z DEBUG codelldb::dap_codec] <-- {"seq":38,"type":"event","event":"output","body":{"output":"Process exited with code 9.\n"}} [2022-03-29T23:38:18.585Z DEBUG codelldb::dap_codec] <-- {"seq":39,"type":"event","event":"exited","body":{"exitCode":9}} [2022-03-29T23:38:18.585Z DEBUG codelldb::dap_codec] <-- {"seq":40,"type":"event","event":"terminated","body":{}} [2022-03-29T23:38:18.959Z DEBUG codelldb::dap_session] Client has disconnected [2022-03-29T23:38:18.959Z DEBUG codelldb::debug_session] End of the requests stream [2022-03-29T23:38:18.959Z DEBUG codelldb::debug_session] DebugSession::drop() [2022-03-29T23:38:18.959Z DEBUG codelldb] End of debug session [2022-03-29T23:38:18.969Z DEBUG codelldb] Exiting Debug adapter exit code=0, signal=null.
If true, this must be a regression in LLDB itself.
Having the same behavior. When sending my binary via scp
or via rust-lldb
every thing works as expected.
I'm having the same issue, it seems to be related to https://github.com/llvm/llvm-project/issues/56927#issuecomment-1214667338
Possible work-around is to touch the executable file placeholder on the target side so the LLDB will upload and overwrite the placeholder, I add this command to the initCommands
in launch.json
:
platform shell touch ${command:cmake.buildTargetName}