vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.55k stars 246 forks source link

Breakpoints no longer triggering in library when using version 1.6.7 #527

Closed NinnOgTonic closed 3 years ago

NinnOgTonic commented 3 years ago

OS: Ubuntu 20.04.1 LTS VSCode version: Version: 1.57.1 Extension version: 1.6.7 Compiler: rustc 1.49.0 (e1884a8e3 2020-12-29) (NB: Also tested when using latest rustc 1.54.0 (a178d0322 2021-07-26)) Build target: 1.49-x86_64-unknown-linux-gnu Debuggee: Integration test

When trying to reproduce https://github.com/vadimcn/vscode-lldb/issues/499. I encounter that no breakpoints are now ever hit. Instead the process just executes the entire target without stopping in the library source code. It appears that breakpoints inside of the integration test are triggered properly.

Rolling back to 1.6.5 or 1.6.6 reproduced the reference issue, and is able to trigger breakpoints other places in the library code.

No crash is encountered Verbose log
configuration: {
  type: 'lldb',
  request: 'launch',
  name: 'test it_handles_updates',
  program: '${workspaceFolder}/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58',
  args: [ 'it_handles_updates', '--exact', '--nocapture' ],
  cwd: '${workspaceFolder}',
  sourceMap: {},
  sourceLanguages: [ 'rust' ],
  env: {
    RUST_BACKTRACE: 'short',
    LANGUAGE: 'en_US',
    USER: 'morten',
    SSH_CLIENT: '192.168.2.1 56298 22',
    LC_TIME: 'en_DK.UTF-8',
    XDG_SESSION_TYPE: 'tty',
    SHLVL: '1',
    MOTD_SHOWN: 'pam',
    HOME: '/home/morten',
    LC_MONETARY: 'en_DK.UTF-8',
    DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
    LOGNAME: 'morten',
    _: '/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/node',
    XDG_SESSION_CLASS: 'user',
    XDG_SESSION_ID: '843',
    PATH: '/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin:/home/morten/.nvm/versions/node/v12.22.1/bin:/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin:/home/morten/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin',
    VSCODE_AGENT_FOLDER: '/home/morten/.vscode-server',
    PAPERSIZE: 'a4',
    LC_ADDRESS: 'en_DK.UTF-8',
    XDG_RUNTIME_DIR: '/run/user/1000',
    LANG: 'en_US.UTF-8',
    LC_TELEPHONE: 'en_DK.UTF-8',
    SHELL: '/bin/bash',
    LC_NAME: 'en_DK.UTF-8',
    LC_MEASUREMENT: 'en_DK.UTF-8',
    LC_IDENTIFICATION: 'en_DK.UTF-8',
    PWD: '/home/morten',
    SSH_CONNECTION: '192.168.2.1 56298 192.168.2.30 22',
    XDG_DATA_DIRS: '/usr/local/share:/usr/share:/var/lib/snapd/desktop',
    LC_NUMERIC: 'en_DK.UTF-8',
    LC_PAPER: 'en_DK.UTF-8',
    VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH: '/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/remote/node_modules',
    VSCODE_CWD: '/home/morten',
    NVM_INC: '/home/morten/.nvm/versions/node/v12.22.1/include/node',
    LS_COLORS: '',
    NVM_DIR: '/home/morten/.nvm',
    LESSCLOSE: '/usr/bin/lesspipe %s %s',
    LESSOPEN: '| /usr/bin/lesspipe %s',
    NVM_CD_FLAGS: '',
    NVM_BIN: '/home/morten/.nvm/versions/node/v12.22.1/bin',
    VSCODE_LOG_NATIVE: 'false',
    VSCODE_AMD_ENTRYPOINT: 'vs/server/remoteExtensionHostProcess',
    VSCODE_PIPE_LOGGING: 'true',
    VSCODE_VERBOSE_LOGGING: 'true',
    VSCODE_EXTHOST_WILL_SEND_SOCKET: 'true',
    VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
    VSCODE_LOG_STACK: 'false',
    VSCODE_NLS_CONFIG: '{"locale":"en","availableLanguages":{}}',
    BROWSER: '/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin/helpers/browser.sh',
    VSCODE_IPC_HOOK_CLI: '/run/user/1000/vscode-ipc-be7f914c-fa13-4e00-9ef8-a54c625a8638.sock',
    APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: 'true'
  },
  relativePathBase: '/home/morten/cc/firmware_hal'
}
liblldb: /home/morten/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.7/lldb/lib/liblldb.so
environment: {}
params: {
  evaluateForHovers: true,
  commandCompletions: true,
  sourceLanguages: [ 'rust' ]
}
Listening on port 46041
[2021-09-20T12:44:38.153Z DEBUG codelldb] New debug session
INFO(Python) 14:44:38 formatters: Initializing
INFO(Python) 14:44:38 formatters.rust: Initializing
[2021-09-20T12:44:38.410Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"lldb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-gb","supportsProgressReporting":true,"supportsInvalidatedEvent":true},"type":"request","seq":1}
[2021-09-20T12:44:38.410Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}}
[2021-09-20T12:44:38.486Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"test it_handles_updates","program":"/home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58","args":["it_handles_updates","--exact","--nocapture"],"cwd":"/home/morten/cc/firmware_hal","sourceMap":{},"sourceLanguages":["rust"],"env":{"RUST_BACKTRACE":"short","LANGUAGE":"en_US","USER":"morten","SSH_CLIENT":"192.168.2.1 56298 22","LC_TIME":"en_DK.UTF-8","XDG_SESSION_TYPE":"tty","SHLVL":"1","MOTD_SHOWN":"pam","HOME":"/home/morten","LC_MONETARY":"en_DK.UTF-8","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","LOGNAME":"morten","_":"/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/node","XDG_SESSION_CLASS":"user","XDG_SESSION_ID":"843","PATH":"/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin:/home/morten/.nvm/versions/node/v12.22.1/bin:/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin:/home/morten/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin","VSCODE_AGENT_FOLDER":"/home/morten/.vscode-server","PAPERSIZE":"a4","LC_ADDRESS":"en_DK.UTF-8","XDG_RUNTIME_DIR":"/run/user/1000","LANG":"en_US.UTF-8","LC_TELEPHONE":"en_DK.UTF-8","SHELL":"/bin/bash","LC_NAME":"en_DK.UTF-8","LC_MEASUREMENT":"en_DK.UTF-8","LC_IDENTIFICATION":"en_DK.UTF-8","PWD":"/home/morten","SSH_CONNECTION":"192.168.2.1 56298 192.168.2.30 22","XDG_DATA_DIRS":"/usr/local/share:/usr/share:/var/lib/snapd/desktop","LC_NUMERIC":"en_DK.UTF-8","LC_PAPER":"en_DK.UTF-8","VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH":"/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/remote/node_modules","VSCODE_CWD":"/home/morten","NVM_INC":"/home/morten/.nvm/versions/node/v12.22.1/include/node","LS_COLORS":"","NVM_DIR":"/home/morten/.nvm","LESSCLOSE":"/usr/bin/lesspipe %s %s","LESSOPEN":"| /usr/bin/lesspipe %s","NVM_CD_FLAGS":"","NVM_BIN":"/home/morten/.nvm/versions/node/v12.22.1/bin","VSCODE_LOG_NATIVE":"false","VSCODE_AMD_ENTRYPOINT":"vs/server/remoteExtensionHostProcess","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","VSCODE_EXTHOST_WILL_SEND_SOCKET":"true","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_LOG_STACK":"false","VSCODE_NLS_CONFIG":"{\"locale\":\"en\",\"availableLanguages\":{}}","BROWSER":"/home/morten/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/bin/helpers/browser.sh","VSCODE_IPC_HOOK_CLI":"/run/user/1000/vscode-ipc-be7f914c-fa13-4e00-9ef8-a54c625a8638.sock","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true"},"relativePathBase":"/home/morten/cc/firmware_hal","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"f2523819-25da-4451-bc07-69def1ea4d47"},"type":"request","seq":2}
[2021-09-20T12:44:38.487Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":1,"event":"capabilities","body":{"capabilities":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}}}
[2021-09-20T12:44:38.704Z DEBUG codelldb::debug_session] Debug event: 0x5630aa5e1410 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {it_handles_poll_repeatedly-442c12e8010a4d58}
[2021-09-20T12:44:38.704Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":2,"event":"initialized"}
[2021-09-20T12:44:38.704Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":3,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"it_handles_poll_repeatedly-442c12e8010a4d58","path":"/home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58","symbolFilePath":"/home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:38.704Z DEBUG codelldb::dap_codec] <-- {"type":"request","seq":4,"command":"runInTerminal","arguments":{"args":["/home/morten/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.7/adapter/codelldb","terminal-agent","--port=34929"],"cwd":"","kind":"integrated","title":"test it_handles_updates"}}
[2021-09-20T12:44:38.781Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"bundle.rs","path":"/home/morten/cc/firmware_hal/update/src/bundle.rs"},"lines":[79],"breakpoints":[{"line":79}],"sourceModified":false},"type":"request","seq":3}
[2021-09-20T12:44:38.781Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"ccupd.rs","path":"/home/morten/cc/firmware_hal/update/src/ccupd.rs"},"lines":[],"breakpoints":[],"sourceModified":false},"type":"request","seq":4}
[2021-09-20T12:44:38.781Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"it_commits_dirty_targets.rs","path":"/home/morten/cc/firmware_hal/update/tests/it_commits_dirty_targets.rs"},"lines":[29],"breakpoints":[{"line":29}],"sourceModified":false},"type":"request","seq":5}
[2021-09-20T12:44:38.781Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"manager.rs","path":"/home/morten/cc/firmware_hal/update/src/manager.rs"},"lines":[267],"breakpoints":[{"line":267}],"sourceModified":false},"type":"request","seq":6}
[2021-09-20T12:44:38.825Z DEBUG codelldb::debug_session] Debug event: 0x5630aae87c40 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:38.825Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"message":"Resolved locations: 0","verified":false}]}}
[2021-09-20T12:44:38.825Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":4,"success":true,"command":"setBreakpoints","body":{"breakpoints":[]}}
[2021-09-20T12:44:38.826Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":5,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":2,"message":"Resolved locations: 0","verified":false}]}}
[2021-09-20T12:44:38.826Z DEBUG codelldb::debug_session] Debug event: 0x7fcbc8007790 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:38.826Z DEBUG codelldb::debug_session] Debug event: 0x7fcbc80077e0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:38.826Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":6,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":3,"message":"Resolved locations: 0","verified":false}]}}
[2021-09-20T12:44:38.883Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":7,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":1661035}}
[2021-09-20T12:44:38.917Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":8}
[2021-09-20T12:44:38.917Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":8,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
[2021-09-20T12:44:38.990Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":9}
[2021-09-20T12:44:38.990Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":9,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}}
[2021-09-20T12:44:39.065Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["rust_panic"]},"type":"request","seq":10}
[2021-09-20T12:44:39.082Z DEBUG codelldb::debug_session] Debug event: 0x5630abdd5e00 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.082Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":10,"success":true,"command":"setExceptionBreakpoints"}
[2021-09-20T12:44:39.156Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":11}
[2021-09-20T12:44:39.157Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":5,"event":"output","body":{"output":"Launching: /home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58 it_handles_updates --exact --nocapture\n"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::debug_session] Debug event: 0x5630ac45ecc0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":6,"event":"output","body":{"output":"Launched process 1662227\n"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::debug_session] Debug event: 0x5630ac446750 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fcd000)}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":2,"success":true,"command":"launch"}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":11,"success":true,"command":"configurationDone"}
[2021-09-20T12:44:39.406Z DEBUG codelldb::debug_session] Debug event: 0x5630ac47b3e0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":7,"event":"module","body":{"module":{"addressRange":"7FFFF7FCF000","id":"7FFFF7FCF000","name":"ld-2.31.so","path":"/usr/lib/x86_64-linux-gnu/ld-2.31.so","symbolFilePath":"/usr/lib/x86_64-linux-gnu/ld-2.31.so","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::debug_session] Debug event: 0x5630ac47b4d0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {it_handles_poll_repeatedly-442c12e8010a4d58}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":8,"event":"module","body":{"module":{"addressRange":"7FFFF7FCD000","id":"7FFFF7FCD000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":9,"event":"breakpoint","body":{"breakpoint":{"id":4,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::debug_session] Debug event: 0x5630ac493dd0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":10,"event":"module","body":{"module":{"addressRange":"555555554000","id":"555555554000","name":"it_handles_poll_repeatedly-442c12e8010a4d58","path":"/home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58","symbolFilePath":"/home/morten/cc/firmware_hal/target/debug/deps/it_handles_poll_repeatedly-442c12e8010a4d58","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.406Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":11,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84002890 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-linux-x86-64.so.2}
[2021-09-20T12:44:39.408Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":12,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ld-linux-x86-64.so.2","path":"/lib64/ld-linux-x86-64.so.2","symbolFilePath":"/lib64/ld-linux-x86-64.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb840e4550 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb845ffbc0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb846433e0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84643490 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84643560 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000004 (modules-unloaded), data = {ld-linux-x86-64.so.2}
[2021-09-20T12:44:39.408Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84643610 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fcd000)}
[2021-09-20T12:44:39.408Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":13,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}}
[2021-09-20T12:44:39.408Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":14,"event":"module","body":{"module":{"addressRange":"7FFFF7FCD000","id":"7FFFF7FCD000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}}
[2021-09-20T12:44:39.411Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84631a80 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdbus-1.so.3}
[2021-09-20T12:44:39.411Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":15,"event":"module","body":{"module":{"addressRange":"7FFFF7F65000","id":"7FFFF7F65000","name":"libdbus-1.so.3","path":"/lib/x86_64-linux-gnu/libdbus-1.so.3","symbolFilePath":"/lib/x86_64-linux-gnu/libdbus-1.so.3","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.412Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84797410 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1}
[2021-09-20T12:44:39.412Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":16,"event":"module","body":{"module":{"addressRange":"7FFFF7F4A000","id":"7FFFF7F4A000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.412Z DEBUG codelldb::debug_session] Debug event: 0x7fcb846bf950 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {librt.so.1}
[2021-09-20T12:44:39.412Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":17,"event":"module","body":{"module":{"addressRange":"7FFFF7F3F000","id":"7FFFF7F3F000","name":"librt.so.1","path":"/lib/x86_64-linux-gnu/librt.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/librt.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.430Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84b677f0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libpthread.so.0}
[2021-09-20T12:44:39.430Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":18,"event":"module","body":{"module":{"addressRange":"7FFFF7F1C000","id":"7FFFF7F1C000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/4f/c5fc33f4429136a494c640b113d76f610e4abc.debug","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.431Z DEBUG codelldb::debug_session] Debug event: 0x7fcb846bf950 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libm.so.6}
[2021-09-20T12:44:39.431Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":19,"event":"module","body":{"module":{"addressRange":"7FFFF7DCD000","id":"7FFFF7DCD000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/lib/x86_64-linux-gnu/libm.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.431Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84b95aa0 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2}
[2021-09-20T12:44:39.431Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":20,"event":"module","body":{"module":{"addressRange":"7FFFF7DC7000","id":"7FFFF7DC7000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/lib/x86_64-linux-gnu/libdl.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.435Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84c5b110 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc.so.6}
[2021-09-20T12:44:39.435Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":21,"event":"module","body":{"module":{"addressRange":"7FFFF7BD3000","id":"7FFFF7BD3000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/lib/x86_64-linux-gnu/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.437Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84aaac10 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libsystemd.so.0}
[2021-09-20T12:44:39.437Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":22,"event":"module","body":{"module":{"addressRange":"7FFFF7B24000","id":"7FFFF7B24000","name":"libsystemd.so.0","path":"/lib/x86_64-linux-gnu/libsystemd.so.0","symbolFilePath":"/lib/x86_64-linux-gnu/libsystemd.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.438Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84e1bd60 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {liblzma.so.5}
[2021-09-20T12:44:39.438Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":23,"event":"module","body":{"module":{"addressRange":"7FFFF7AFB000","id":"7FFFF7AFB000","name":"liblzma.so.5","path":"/lib/x86_64-linux-gnu/liblzma.so.5","symbolFilePath":"/lib/x86_64-linux-gnu/liblzma.so.5","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.438Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84c87b90 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {liblz4.so.1}
[2021-09-20T12:44:39.438Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":24,"event":"module","body":{"module":{"addressRange":"7FFFF7ADA000","id":"7FFFF7ADA000","name":"liblz4.so.1","path":"/lib/x86_64-linux-gnu/liblz4.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/liblz4.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.439Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84ce2570 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcrypt.so.20}
[2021-09-20T12:44:39.439Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":25,"event":"module","body":{"module":{"addressRange":"7FFFF79BC000","id":"7FFFF79BC000","name":"libgcrypt.so.20","path":"/lib/x86_64-linux-gnu/libgcrypt.so.20","symbolFilePath":"/lib/x86_64-linux-gnu/libgcrypt.so.20","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84f6ad90 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgpg-error.so.0}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":26,"event":"module","body":{"module":{"addressRange":"7FFFF7997000","id":"7FFFF7997000","name":"libgpg-error.so.0","path":"/lib/x86_64-linux-gnu/libgpg-error.so.0","symbolFilePath":"/lib/x86_64-linux-gnu/libgpg-error.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::debug_session] Debug event: 0x7fcb848d9a50 Event: broadcaster = 0x5630aa50ad48 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdbus-1.so.3, libgcc_s.so.1, librt.so.1, libpthread.so.0, libm.so.6, libdl.so.2, libc.so.6, libsystemd.so.0, liblzma.so.5, liblz4.so.1, libgcrypt.so.20, libgpg-error.so.0}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":27,"event":"module","body":{"module":{"addressRange":"7FFFF7F65000","id":"7FFFF7F65000","name":"libdbus-1.so.3","path":"/lib/x86_64-linux-gnu/libdbus-1.so.3","symbolFilePath":"/lib/x86_64-linux-gnu/libdbus-1.so.3","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":28,"event":"module","body":{"module":{"addressRange":"7FFFF7F4A000","id":"7FFFF7F4A000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":29,"event":"module","body":{"module":{"addressRange":"7FFFF7F3F000","id":"7FFFF7F3F000","name":"librt.so.1","path":"/lib/x86_64-linux-gnu/librt.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/librt.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":30,"event":"module","body":{"module":{"addressRange":"7FFFF7F1C000","id":"7FFFF7F1C000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/4f/c5fc33f4429136a494c640b113d76f610e4abc.debug","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":31,"event":"module","body":{"module":{"addressRange":"7FFFF7DCD000","id":"7FFFF7DCD000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/lib/x86_64-linux-gnu/libm.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":32,"event":"module","body":{"module":{"addressRange":"7FFFF7DC7000","id":"7FFFF7DC7000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/lib/x86_64-linux-gnu/libdl.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":33,"event":"module","body":{"module":{"addressRange":"7FFFF7BD3000","id":"7FFFF7BD3000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/lib/x86_64-linux-gnu/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":34,"event":"module","body":{"module":{"addressRange":"7FFFF7B24000","id":"7FFFF7B24000","name":"libsystemd.so.0","path":"/lib/x86_64-linux-gnu/libsystemd.so.0","symbolFilePath":"/lib/x86_64-linux-gnu/libsystemd.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":35,"event":"module","body":{"module":{"addressRange":"7FFFF7AFB000","id":"7FFFF7AFB000","name":"liblzma.so.5","path":"/lib/x86_64-linux-gnu/liblzma.so.5","symbolFilePath":"/lib/x86_64-linux-gnu/liblzma.so.5","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":36,"event":"module","body":{"module":{"addressRange":"7FFFF7ADA000","id":"7FFFF7ADA000","name":"liblz4.so.1","path":"/lib/x86_64-linux-gnu/liblz4.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/liblz4.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":37,"event":"module","body":{"module":{"addressRange":"7FFFF79BC000","id":"7FFFF79BC000","name":"libgcrypt.so.20","path":"/lib/x86_64-linux-gnu/libgcrypt.so.20","symbolFilePath":"/lib/x86_64-linux-gnu/libgcrypt.so.20","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.440Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":38,"event":"module","body":{"module":{"addressRange":"7FFFF7997000","id":"7FFFF7997000","name":"libgpg-error.so.0","path":"/lib/x86_64-linux-gnu/libgpg-error.so.0","symbolFilePath":"/lib/x86_64-linux-gnu/libgpg-error.so.0","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2021-09-20T12:44:39.446Z DEBUG codelldb::debug_session] Debug event: 0x7fcb84012fc0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.446Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050e10 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.446Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":39,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.448Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c0167b0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.448Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044c60 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.448Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":40,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.449Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c204e30 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.449Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044ae0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.449Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":41,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.451Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c100cf0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.451Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8504ec50 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.451Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":42,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.453Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c015700 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.453Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8504f120 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.453Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":43,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.455Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c316e80 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.455Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044810 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.455Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":44,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.496Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":12}
[2021-09-20T12:44:39.496Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":12,"success":true,"command":"threads","body":{"threads":[{"id":1662227,"name":"1: tid=1662227 \"it_handles_poll\""},{"id":1662241,"name":"2: tid=1662241 \"it_handles_upda\""},{"id":1662242,"name":"3: tid=1662242 \"it_handles_upda\""},{"id":1662243,"name":"4: tid=1662243 \"it_handles_upda\""},{"id":1662244,"name":"5: tid=1662244 \"it_handles_upda\""},{"id":1662245,"name":"6: tid=1662245 \"it_handles_upda\""},{"id":1662246,"name":"7: tid=1662246 \"it_handles_upda\""},{"id":1662247,"name":"8: tid=1662247 \"it_handles_upda\""},{"id":1662248,"name":"9: tid=1662248 \"it_handles_upda\""},{"id":1662249,"name":"10: tid=1662249 \"it_handles_upda\""},{"id":1662250,"name":"11: tid=1662250 \"it_handles_upda\""},{"id":1662252,"name":"12: tid=1662252 \"it_handles_upda\""},{"id":1662251,"name":"13: tid=1662251 \"it_handles_upda\""},{"id":1662253,"name":"14: tid=1662253 \"it_handles_upda\""},{"id":1662254,"name":"15: tid=1662254 \"it_handles_upda\""},{"id":1662255,"name":"16: tid=1662255 \"it_handles_upda\""},{"id":1662256,"name":"17: tid=1662256 \"it_handles_upda\""},{"id":1662257,"name":"18: tid=1662257 \"it_handles_upda\""},{"id":1662258,"name":"19: tid=1662258 \"it_handles_upda\""},{"id":1662259,"name":"20: tid=1662259 \"it_handles_upda\""},{"id":1662260,"name":"21: tid=1662260 \"it_handles_upda\""},{"id":1662261,"name":"22: tid=1662261 \"it_handles_upda\""},{"id":1662262,"name":"23: tid=1662262 \"it_handles_upda\""},{"id":1662263,"name":"24: tid=1662263 \"it_handles_upda\""},{"id":1662264,"name":"25: tid=1662264 \"it_handles_upda\""},{"id":1662265,"name":"26: tid=1662265 \"it_handles_upda\""},{"id":1662266,"name":"27: tid=1662266 \"it_handles_upda\""},{"id":1662267,"name":"28: tid=1662267 \"it_handles_upda\""},{"id":1662268,"name":"29: tid=1662268 \"it_handles_upda\""}]}}
[2021-09-20T12:44:39.560Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c005620 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.560Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85051630 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.560Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":45,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.562Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c0c1970 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.562Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044960 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.562Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":46,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.564Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c0c1a10 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.564Z DEBUG codelldb::debug_session] Debug event: 0x7fcb850445f0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.564Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":47,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.566Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c001c10 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.566Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85049ab0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.566Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":48,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.568Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c0065c0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.568Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044c30 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.568Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":49,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.570Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c9babd0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.570Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8503f980 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.570Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":50,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.572Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c8c87c0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.572Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044ab0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.572Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":51,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.573Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c8c88f0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.574Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050680 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.574Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":52,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.575Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c8c8920 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.575Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050750 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.575Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":53,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.577Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c5f8740 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.577Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050c70 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.577Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":54,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.579Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c889850 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.579Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8504e200 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.579Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":55,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.581Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c889720 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.581Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8504e5b0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.581Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":56,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.583Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c7437f0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.583Z DEBUG codelldb::debug_session] Debug event: 0x7fcb850385b0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.583Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":57,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.585Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c002280 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.585Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85044b70 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.585Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":58,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.587Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c837dd0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.587Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050cd0 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.587Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":59,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:39.589Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c837f00 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = stopped}
[2021-09-20T12:44:39.589Z DEBUG codelldb::debug_session] Debug event: 0x7fcb85050e40 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = running}
[2021-09-20T12:44:39.589Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":60,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2021-09-20T12:44:41.596Z DEBUG codelldb::debug_session] Debug event: 0x7fcb8c84e750 Event: broadcaster = 0x5630ac418618 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5630ac4185e0 (pid = 1662227), state = exited}
[2021-09-20T12:44:41.596Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":61,"event":"output","body":{"output":"Process exited with code 0.\n"}}
[2021-09-20T12:44:41.597Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":62,"event":"exited","body":{"exitCode":0}}
[2021-09-20T12:44:41.597Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":63,"event":"terminated","body":{}}
[2021-09-20T12:44:41.673Z DEBUG codelldb::dap_codec] --> {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":13}
[2021-09-20T12:44:41.674Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":13,"success":true,"command":"disconnect"}
[2021-09-20T12:44:42.175Z DEBUG codelldb::dap_session] Client has disconnected
[2021-09-20T12:44:42.176Z DEBUG codelldb::debug_session] End of the requests stream
[2021-09-20T12:44:42.176Z DEBUG codelldb::debug_session] DebugSession::drop()
[2021-09-20T12:44:42.176Z DEBUG codelldb] Session has ended
[2021-09-20T12:44:42.186Z DEBUG codelldb] Exiting
Debug adapter exit code=0, signal=null.
vadimcn commented 3 years ago

Unfortunately it's a choice between this and crashes. I've rolled back LLDB to v12 to avoid the latter. Would be best to report this sort of stuff to upstream LLDB directly...

Snowapril commented 3 years ago

dear @vadimcn, you mean that this issue cannot be fixed before fixing in LLDB? I'm also suffering from this issue too 😂

vadimcn commented 3 years ago

@Snowapril : Don't think so. You can install the previous version, but it's gonna crash sometimes.

NinnOgTonic commented 3 years ago

@vadimcn could you perhaps help me assist in how we could make a good report to the llvm project to help solve these issues?

Im not sure that the verbose log above would be sufficient for the underlying project to debug these issues?

Would we need to execute the lldb binary in a specific way for them to allow for tracing?

I would love to assist in any way possible!

vadimcn commented 3 years ago

@NinnOgTonic: LLDB devs wouldn't be familiar with Codelldb or its logs. They'd want a repro using plain CLI lldb.

Looks like the library breakpoint issue had already been fixed in lldb-13, so probably not worth reporting. The crash would be, but it needs a solid repro for them to be able to do anything about it.

taikulawo commented 3 years ago

I've installed v1.6.7, my tunnel-bin crate depends on tunnel-lib crate specified in cargo.toml. Now all of the breakpoints have been broken in tunnel-lib crate. Everytime I restarted vscode, extension will update itself to latest version automatically(v1.6.7).

A debugger extension has lost Its most important debugging feature 😭.

vadimcn commented 3 years ago

So I'm using this debugger daily, on Linux, and I've never experienced problems with hitting breakpoints, as long as the source map is set up correctly.
Something isn't right here... Have you tried diagnosing this issue as described here?

taikulawo commented 3 years ago

@vadimcn I have tried, none of them works. And here are my logs

verbose log configuration: { type: 'lldb', request: 'launch', name: 'LeafBin', console: 'integratedTerminal', program: '/root/codes/leaf/target/debug/leaf', args: [ '--config', '${workspaceFolder}/config.json' ], env: { RUST_BACKTRACE: '1' }, preRunCommands: [ 'breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346' ], __configurationTarget: 5, relativePathBase: '/root/codes/leaf', sourceLanguages: [ 'rust' ] } liblldb: /root/.vscode-server-insiders/extensions/vadimcn.vscode-lldb-1.6.7/lldb/lib/liblldb.so environment: {} params: { evaluateForHovers: true, commandCompletions: true, sourceLanguages: [ 'rust' ] } Listening on port 42349 [2021-10-01T09:36:02.749Z DEBUG codelldb] New debug session INFO(Python) 17:36:03 formatters: Initializing INFO(Python) 17:36:03 formatters.rust: Initializing [2021-10-01T09:36:03.037Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code - Insiders","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} [2021-10-01T09:36:03.037Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}} [2021-10-01T09:36:03.043Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"LeafBin","console":"integratedTerminal","program":"/root/codes/leaf/target/debug/leaf","args":["--config","/root/codes/leaf/config.json"],"env":{"RUST_BACKTRACE":"1"},"preRunCommands":["breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346"],"__configurationTarget":5,"relativePathBase":"/root/codes/leaf","sourceLanguages":["rust"],"_adapterSettings":{"displayFormat":"auto","showDisassembly":"never","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"db6003ee-73d3-4818-97b7-37c85faf61c1"},"type":"request","seq":2} [2021-10-01T09:36:03.043Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":1,"event":"capabilities","body":{"capabilities":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}}} [2021-10-01T09:36:03.477Z DEBUG codelldb::debug_session] Debug event: 0x56029f5c2f00 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {leaf} [2021-10-01T09:36:03.477Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":2,"event":"initialized"} [2021-10-01T09:36:03.477Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":3,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"leaf","path":"/root/codes/leaf/target/debug/leaf","symbolFilePath":"/root/codes/leaf/target/debug/leaf","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.477Z DEBUG codelldb::dap_codec] <-- {"type":"request","seq":4,"command":"runInTerminal","arguments":{"args":["/root/.vscode-server-insiders/extensions/vadimcn.vscode-lldb-1.6.7/adapter/codelldb","terminal-agent","--port=39853"],"cwd":"","kind":"integrated","title":"LeafBin"}} [2021-10-01T09:36:03.484Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"lib.rs","path":"/root/codes/leaf/leaf/src/lib.rs"},"lines":[346,494],"breakpoints":[{"line":346},{"line":494}],"sourceModified":false},"type":"request","seq":3} [2021-10-01T09:36:03.484Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.rs","path":"/root/codes/leaf/leaf-bin/src/main.rs"},"lines":[61],"breakpoints":[{"line":61}],"sourceModified":false},"type":"request","seq":4} [2021-10-01T09:36:03.488Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":5,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":28509}} [2021-10-01T09:36:03.547Z DEBUG codelldb::debug_session] Debug event: 0x56029fb2a770 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.547Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"message":"Resolved locations: 0","verified":false},{"id":2,"line":494,"message":"Resolved locations: 0","verified":true}]}} [2021-10-01T09:36:03.548Z DEBUG codelldb::debug_session] Debug event: 0x5602a3a1a6f0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.548Z DEBUG codelldb::debug_session] Debug event: 0x5602a3a1a550 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.548Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":4,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":3,"message":"Resolved locations: 0","verified":false}]}} [2021-10-01T09:36:03.572Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6} [2021-10-01T09:36:03.573Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":6,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} [2021-10-01T09:36:03.617Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7} [2021-10-01T09:36:03.617Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":7,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}} [2021-10-01T09:36:03.665Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["rust_panic"]},"type":"request","seq":8} [2021-10-01T09:36:03.671Z DEBUG codelldb::debug_session] Debug event: 0x5602a3b4ab40 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.671Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":8,"success":true,"command":"setExceptionBreakpoints"} [2021-10-01T09:36:03.696Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":9} [2021-10-01T09:36:03.696Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":5,"event":"output","body":{"output":"Executing script: preRunCommands\n"}} [2021-10-01T09:36:03.697Z DEBUG codelldb::debug_session] breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346 -> SuccessFinishResult, Error: Success Output Message: Breakpoint 5: where = leaf`drop_in_place + 79 at lib.rs:494:27, address = 0x000000000028cd7f [2021-10-01T09:36:03.697Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":6,"event":"output","body":{"output":"Breakpoint 5: where = leaf`drop_in_place + 79 at lib.rs:494:27, address = 0x000000000028cd7f\n\n"}} [2021-10-01T09:36:03.697Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":7,"event":"output","body":{"output":"Launching: /root/codes/leaf/target/debug/leaf --config /root/codes/leaf/config.json\n"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x56029f365070 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":8,"event":"output","body":{"output":"Launched process 29616\n"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cc3560 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":2,"success":true,"command":"launch"} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":9,"event":"breakpoint","body":{"breakpoint":{"id":5,"line":494,"message":"Resolved locations: 1","source":{"name":"lib.rs","path":"/root/codes/leaf/leaf/src/lib.rs"},"verified":true},"reason":"new"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cc4bf0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fd1000)} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cc3150 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":10,"event":"module","body":{"module":{"addressRange":"7FFFF7FD2000","id":"7FFFF7FD2000","name":"ld-2.31.so","path":"/lib/x86_64-linux-gnu/ld-2.31.so","symbolFilePath":"/usr/lib/debug/.build-id/32/438eb3b034da54caf58c7a65446639f7cfe274.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cfa6d0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cfa7b0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a0522c70 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":11,"event":"module","body":{"module":{"addressRange":"7FFFF7FD1000","id":"7FFFF7FD1000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cfa780 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":9,"success":true,"command":"configurationDone"} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cfaa90 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {leaf} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":12,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":494,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":13,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":494,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::debug_session] Debug event: 0x5602a3cfb970 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":14,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":494,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":15,"event":"breakpoint","body":{"breakpoint":{"id":4,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":16,"event":"breakpoint","body":{"breakpoint":{"id":5,"line":494,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":17,"event":"module","body":{"module":{"addressRange":"555555554000","id":"555555554000","name":"leaf","path":"/root/codes/leaf/target/debug/leaf","symbolFilePath":"/root/codes/leaf/target/debug/leaf","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.762Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":18,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88d180 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-linux-x86-64.so.2} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c75f010 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.776Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":19,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ld-linux-x86-64.so.2","path":"/lib64/ld-linux-x86-64.so.2","symbolFilePath":"/usr/lib/debug/.build-id/32/438eb3b034da54caf58c7a65446639f7cfe274.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88dc60 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88dcf0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88dd80 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88de10 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:36:03.776Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88dea0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000004 (modules-unloaded), data = {ld-linux-x86-64.so.2} [2021-10-01T09:36:03.777Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":20,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}} [2021-10-01T09:36:03.777Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c88dd80 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fd1000)} [2021-10-01T09:36:03.777Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":21,"event":"module","body":{"module":{"addressRange":"7FFFF7FD1000","id":"7FFFF7FD1000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2021-10-01T09:36:03.780Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10} [2021-10-01T09:36:03.780Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":29616,"name":"1: tid=29616 \"leaf\""}]}} [2021-10-01T09:36:03.786Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4cadf500 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2} [2021-10-01T09:36:03.787Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":22,"event":"module","body":{"module":{"addressRange":"7FFFF7FC0000","id":"7FFFF7FC0000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/usr/lib/debug/.build-id/11/8b90161526d181807818c459baee841993795b.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.787Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4ca588d0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1} [2021-10-01T09:36:03.788Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":23,"event":"module","body":{"module":{"addressRange":"7FFFF7FA6000","id":"7FFFF7FA6000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.806Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4cf8eca0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libpthread.so.0} [2021-10-01T09:36:03.806Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":24,"event":"module","body":{"module":{"addressRange":"7FFFF7F84000","id":"7FFFF7F84000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/50/18237bbf012b4094027fd0b96fc22a24496ea4.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:03.864Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4d5c7d20 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libm.so.6} [2021-10-01T09:36:03.864Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":25,"event":"module","body":{"module":{"addressRange":"7FFFF7E40000","id":"7FFFF7E40000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/usr/lib/debug/.build-id/e9/d2c06479b13dd3cfa78d714d11dccf6fcbee51.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.008Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e4678f0 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc.so.6} [2021-10-01T09:36:04.008Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":26,"event":"module","body":{"module":{"addressRange":"7FFFF7C7B000","id":"7FFFF7C7B000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/usr/lib/debug/.build-id/b7/2adf59ac0a673d1eeb261e662364507cfc8615.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.011Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c865800 Event: broadcaster = 0x5602a031ffe8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2, libgcc_s.so.1, libpthread.so.0, libm.so.6, libc.so.6} [2021-10-01T09:36:04.011Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":27,"event":"module","body":{"module":{"addressRange":"7FFFF7FC0000","id":"7FFFF7FC0000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/usr/lib/debug/.build-id/11/8b90161526d181807818c459baee841993795b.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.011Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":28,"event":"module","body":{"module":{"addressRange":"7FFFF7FA6000","id":"7FFFF7FA6000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.011Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":29,"event":"module","body":{"module":{"addressRange":"7FFFF7F84000","id":"7FFFF7F84000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/50/18237bbf012b4094027fd0b96fc22a24496ea4.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.011Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":30,"event":"module","body":{"module":{"addressRange":"7FFFF7E40000","id":"7FFFF7E40000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/usr/lib/debug/.build-id/e9/d2c06479b13dd3cfa78d714d11dccf6fcbee51.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.011Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":31,"event":"module","body":{"module":{"addressRange":"7FFFF7C7B000","id":"7FFFF7C7B000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/usr/lib/debug/.build-id/b7/2adf59ac0a673d1eeb261e662364507cfc8615.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:36:04.021Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4c75eee0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.021Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e7a4ef0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.021Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":32,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.023Z DEBUG codelldb::debug_session] Debug event: 0x7f3a305b5850 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.023Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e79d810 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.023Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":33,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.024Z DEBUG codelldb::debug_session] Debug event: 0x7f3a307391b0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.025Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e79ddb0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.025Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":34,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.027Z DEBUG codelldb::debug_session] Debug event: 0x7f3a3001aaa0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.027Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e79dc80 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.027Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":35,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.029Z DEBUG codelldb::debug_session] Debug event: 0x7f3a3051d210 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.029Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e79e9d0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.029Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":36,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.031Z DEBUG codelldb::debug_session] Debug event: 0x7f3a304e8f30 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.031Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e7a6ae0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.031Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":37,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.033Z DEBUG codelldb::debug_session] Debug event: 0x7f3a305d6460 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.033Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e7a3be0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.034Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":38,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:36:04.035Z DEBUG codelldb::debug_session] Debug event: 0x7f3a3060c6f0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = stopped} [2021-10-01T09:36:04.036Z DEBUG codelldb::debug_session] Debug event: 0x7f3a4e79e5a0 Event: broadcaster = 0x5602a3b54b28 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5602a3b54af0 (pid = 29616), state = running} [2021-10-01T09:36:04.036Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":39,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
debug console Executing script: preRunCommands Breakpoint 5: where = leaf`drop_in_place + 79 at lib.rs:494:27, address = 0x000000000028cd7f Launching: /root/codes/leaf/target/debug/leaf --config /root/codes/leaf/config.json Launched process 29616 breakpoint list --verbose Current breakpoints: 1: file = '/root/codes/leaf/leaf/src/lib.rs', line = 346, exact_match = 0 1.1: module = /root/codes/leaf/target/debug/leaf compile unit = lib.rs function = drop_in_place location = /root/codes/leaf/leaf/src/lib.rs:494:27 address = 0x00005555557e0d7f resolved = true hardware = false hit count = 0 2: file = '/root/codes/leaf/leaf/src/lib.rs', line = 494, exact_match = 0 2.1: module = /root/codes/leaf/target/debug/leaf compile unit = lib.rs function = drop_in_place location = /root/codes/leaf/leaf/src/lib.rs:494:27 address = 0x00005555557e0d7f resolved = true hardware = false hit count = 0 3: file = '/root/codes/leaf/leaf-bin/src/main.rs', line = 61, exact_match = 0 4: name = 'rust_panic' 4.1: module = /root/codes/leaf/target/debug/leaf symbol = rust_panic address = 0x0000555556560376 resolved = true hardware = false hit count = 0 5: file = '/root/codes/leaf/leaf/src/lib.rs', line = 346, exact_match = 0 5.1: module = /root/codes/leaf/target/debug/leaf compile unit = lib.rs function = drop_in_place location = /root/codes/leaf/leaf/src/lib.rs:494:27 address = 0x00005555557e0d7f resolved = true hardware = false hit count = 0

and there are my breakpoint configuration.

image

And without any additional settings, just downgrade to v1.6.6, all breakpoints works

v1.6.6 lldb logs Running `cargo build --package leaf --bin leaf --message-format=json`... warning: unused label --> leaf/src/app/outbound/manager.rs:677:13 | 677 | 'outbounds: for outbound in outbounds.iter() { | ^^^^^^^^^^ | = note: `#[warn(unused_labels)]` on by default warning: unused variable: `external_handlers` --> leaf/src/app/outbound/manager.rs:672:9 | 672 | external_handlers: &mut super::plugin::ExternalHandlers, | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_handlers` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `gw` --> leaf/src/common/cmd_linux.rs:121:5 | 121 | gw: Ipv4Addr, | ^^ help: if this is intentional, prefix it with an underscore: `_gw` warning: unused variable: `ifscope` --> leaf/src/common/cmd_linux.rs:211:17 | 211 | if let Some(ifscope) = ifscope { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifscope` warning: unused variable: `ifscope` --> leaf/src/common/cmd_linux.rs:234:17 | 234 | if let Some(ifscope) = ifscope { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ifscope` warning: 5 warnings emitted Finished dev [unoptimized + debuginfo] target(s) in 0.10s Raw artifacts: { fileName: '/root/codes/leaf/target/debug/leaf', name: 'leaf', kind: 'bin' } configuration: { type: 'lldb', request: 'launch', name: 'LeafBin', console: 'integratedTerminal', program: '/root/codes/leaf/target/debug/leaf', args: [ '--config', '${workspaceFolder}/config.json' ], env: { RUST_BACKTRACE: '1' }, preRunCommands: [ 'breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346' ], __configurationTarget: 5, relativePathBase: '/root/codes/leaf', sourceLanguages: [ 'rust' ] } liblldb: /root/.vscode-server-insiders/extensions/vadimcn.vscode-lldb-1.6.6/lldb/lib/liblldb.so environment: {} params: { evaluateForHovers: true, commandCompletions: true, sourceLanguages: [ 'rust' ] } Listening on port 38253 [2021-10-01T09:42:20.267Z DEBUG codelldb] New debug session INFO(Python) 17:42:20 formatters: Initializing INFO(Python) 17:42:20 formatters.rust: Initializing [2021-10-01T09:42:20.574Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code - Insiders","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} [2021-10-01T09:42:20.574Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}} [2021-10-01T09:42:20.580Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"LeafBin","console":"integratedTerminal","program":"/root/codes/leaf/target/debug/leaf","args":["--config","/root/codes/leaf/config.json"],"env":{"RUST_BACKTRACE":"1"},"preRunCommands":["breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346"],"__configurationTarget":5,"relativePathBase":"/root/codes/leaf","sourceLanguages":["rust"],"_adapterSettings":{"displayFormat":"auto","showDisassembly":"never","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true},"__sessionId":"39a5ebc7-7201-4e71-83d5-fe3475e6e5c0"},"type":"request","seq":2} [2021-10-01T09:42:20.580Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":1,"event":"capabilities","body":{"capabilities":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic"}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsEvaluateForHovers":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsRestartFrame":true,"supportsSetVariable":true}}} [2021-10-01T09:42:20.972Z DEBUG codelldb::debug_session] Debug event: 0x562b309047b0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {leaf} [2021-10-01T09:42:20.972Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":2,"event":"initialized"} [2021-10-01T09:42:20.972Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":3,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"leaf","path":"/root/codes/leaf/target/debug/leaf","symbolFilePath":"/root/codes/leaf/target/debug/leaf","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:20.972Z DEBUG codelldb::dap_codec] <-- {"type":"request","seq":4,"command":"runInTerminal","arguments":{"args":["/root/.vscode-server-insiders/extensions/vadimcn.vscode-lldb-1.6.6/adapter/codelldb","terminal-agent","--port=42433"],"cwd":"","kind":"integrated","title":"LeafBin"}} [2021-10-01T09:42:20.984Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"lib.rs","path":"/root/codes/leaf/leaf/src/lib.rs"},"lines":[346,494],"breakpoints":[{"line":346},{"line":494}],"sourceModified":false},"type":"request","seq":3} [2021-10-01T09:42:20.984Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.rs","path":"/root/codes/leaf/leaf-bin/src/main.rs"},"lines":[61],"breakpoints":[{"line":61}],"sourceModified":false},"type":"request","seq":4} [2021-10-01T09:42:20.990Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":5,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":30326}} [2021-10-01T09:42:21.084Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":346,"message":"Resolved locations: 0","verified":true},{"id":2,"line":494,"message":"Resolved locations: 0","verified":true}]}} [2021-10-01T09:42:21.085Z DEBUG codelldb::debug_session] Debug event: 0x562b30e9e4d0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.085Z DEBUG codelldb::debug_session] Debug event: 0x562b34bce930 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.085Z DEBUG codelldb::debug_session] Debug event: 0x562b34bce270 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.085Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":4,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":3,"message":"Resolved locations: 0","verified":false}]}} [2021-10-01T09:42:21.092Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6} [2021-10-01T09:42:21.092Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":6,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} [2021-10-01T09:42:21.140Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7} [2021-10-01T09:42:21.140Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":7,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}} [2021-10-01T09:42:21.192Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["rust_panic"]},"type":"request","seq":8} [2021-10-01T09:42:21.197Z DEBUG codelldb::debug_session] Debug event: 0x562b356d9d00 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.197Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":8,"success":true,"command":"setExceptionBreakpoints"} [2021-10-01T09:42:21.210Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":9} [2021-10-01T09:42:21.210Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":5,"event":"output","body":{"output":"Executing script: preRunCommands\n"}} [2021-10-01T09:42:21.212Z DEBUG codelldb::debug_session] breakpoint set -f /root/codes/leaf/leaf/src/lib.rs -l 346 -> SuccessFinishResult, Error: Success Output Message: Breakpoint 5: 2 locations. [2021-10-01T09:42:21.212Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":6,"event":"output","body":{"output":"Breakpoint 5: 2 locations.\n\n"}} [2021-10-01T09:42:21.212Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":7,"event":"output","body":{"output":"Launching: /root/codes/leaf/target/debug/leaf --config /root/codes/leaf/config.json\n"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":8,"event":"output","body":{"output":"Launched process 30511\n"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b3071ed70 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":2,"success":true,"command":"launch"} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":9,"success":true,"command":"configurationDone"} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b358813b0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-2.31.so} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":9,"event":"breakpoint","body":{"breakpoint":{"id":5,"line":346,"message":"Resolved locations: 2","source":{"name":"lib.rs","path":"/root/codes/leaf/leaf/src/lib.rs"},"verified":true},"reason":"new"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35885470 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fd1000)} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":10,"event":"module","body":{"module":{"addressRange":"7FFFF7FD2000","id":"7FFFF7FD2000","name":"ld-2.31.so","path":"/lib/x86_64-linux-gnu/ld-2.31.so","symbolFilePath":"/usr/lib/debug/.build-id/32/438eb3b034da54caf58c7a65446639f7cfe274.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b358870a0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":11,"event":"module","body":{"module":{"addressRange":"7FFFF7FD1000","id":"7FFFF7FD1000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":12,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":346,"message":"Resolved locations: 2","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887170 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b358872c0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887410 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887560 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":13,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":346,"message":"Resolved locations: 2","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":14,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":494,"message":"Resolved locations: 4","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b358876e0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":15,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":494,"message":"Resolved locations: 4","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":16,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":494,"message":"Resolved locations: 4","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b358874f0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":17,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":494,"message":"Resolved locations: 4","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887be0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":18,"event":"breakpoint","body":{"breakpoint":{"id":4,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887d00 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35887e20 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {leaf} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":19,"event":"breakpoint","body":{"breakpoint":{"id":5,"line":346,"message":"Resolved locations: 2","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":20,"event":"breakpoint","body":{"breakpoint":{"id":5,"line":346,"message":"Resolved locations: 2","verified":true},"reason":"changed"}} [2021-10-01T09:42:21.279Z DEBUG codelldb::debug_session] Debug event: 0x562b35888ee0 Event: broadcaster = 0x562b356f95e8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x562b356f95b0 (pid = 30511), state = running} [2021-10-01T09:42:21.279Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":21,"event":"module","body":{"module":{"addressRange":"555555554000","id":"555555554000","name":"leaf","path":"/root/codes/leaf/target/debug/leaf","symbolFilePath":"/root/codes/leaf/target/debug/leaf","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.280Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":22,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2021-10-01T09:42:21.290Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10} [2021-10-01T09:42:21.290Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":30511,"name":"1: tid=30511 \"leaf\""}]}} [2021-10-01T09:42:21.292Z DEBUG codelldb::debug_session] Debug event: 0x7f0898a1e6f0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-linux-x86-64.so.2} [2021-10-01T09:42:21.293Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":23,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ld-linux-x86-64.so.2","path":"/lib64/ld-linux-x86-64.so.2","symbolFilePath":"/usr/lib/debug/.build-id/32/438eb3b034da54caf58c7a65446639f7cfe274.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f08989d3490 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f0898badfb0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f0898bae040 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f0898bae0d0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f0898bae160 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2021-10-01T09:42:21.293Z DEBUG codelldb::debug_session] Debug event: 0x7f0898bae1f0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000004 (modules-unloaded), data = {ld-linux-x86-64.so.2} [2021-10-01T09:42:21.293Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":24,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}} [2021-10-01T09:42:21.295Z DEBUG codelldb::debug_session] Debug event: 0x7f0898bae0d0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fd1000)} [2021-10-01T09:42:21.295Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":25,"event":"module","body":{"module":{"addressRange":"7FFFF7FD1000","id":"7FFFF7FD1000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2021-10-01T09:42:21.303Z DEBUG codelldb::debug_session] Debug event: 0x7f089894fe00 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2} [2021-10-01T09:42:21.303Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":26,"event":"module","body":{"module":{"addressRange":"7FFFF7FC0000","id":"7FFFF7FC0000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/usr/lib/debug/.build-id/11/8b90161526d181807818c459baee841993795b.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.304Z DEBUG codelldb::debug_session] Debug event: 0x7f08989dbd00 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1} [2021-10-01T09:42:21.304Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":27,"event":"module","body":{"module":{"addressRange":"7FFFF7FA6000","id":"7FFFF7FA6000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.324Z DEBUG codelldb::debug_session] Debug event: 0x7f0898e38840 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libpthread.so.0} [2021-10-01T09:42:21.324Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":28,"event":"module","body":{"module":{"addressRange":"7FFFF7F84000","id":"7FFFF7F84000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/50/18237bbf012b4094027fd0b96fc22a24496ea4.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.369Z DEBUG codelldb::debug_session] Debug event: 0x7f0899468bf0 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libm.so.6} [2021-10-01T09:42:21.369Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":29,"event":"module","body":{"module":{"addressRange":"7FFFF7E40000","id":"7FFFF7E40000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/usr/lib/debug/.build-id/e9/d2c06479b13dd3cfa78d714d11dccf6fcbee51.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.494Z DEBUG codelldb::debug_session] Debug event: 0x7f089a2e1e90 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc.so.6} [2021-10-01T09:42:21.494Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":30,"event":"module","body":{"module":{"addressRange":"7FFFF7C7B000","id":"7FFFF7C7B000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/usr/lib/debug/.build-id/b7/2adf59ac0a673d1eeb261e662364507cfc8615.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.498Z DEBUG codelldb::debug_session] Debug event: 0x7f0898badd70 Event: broadcaster = 0x562b315531d8 (lldb.target), type = 0x00000002 (modules-loaded), data = {libdl.so.2, libgcc_s.so.1, libpthread.so.0, libm.so.6, libc.so.6} [2021-10-01T09:42:21.498Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":31,"event":"module","body":{"module":{"addressRange":"7FFFF7FC0000","id":"7FFFF7FC0000","name":"libdl.so.2","path":"/lib/x86_64-linux-gnu/libdl.so.2","symbolFilePath":"/usr/lib/debug/.build-id/11/8b90161526d181807818c459baee841993795b.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.498Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":32,"event":"module","body":{"module":{"addressRange":"7FFFF7FA6000","id":"7FFFF7FA6000","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolFilePath":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.498Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":33,"event":"module","body":{"module":{"addressRange":"7FFFF7F84000","id":"7FFFF7F84000","name":"libpthread.so.0","path":"/lib/x86_64-linux-gnu/libpthread.so.0","symbolFilePath":"/usr/lib/debug/.build-id/50/18237bbf012b4094027fd0b96fc22a24496ea4.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.498Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":34,"event":"module","body":{"module":{"addressRange":"7FFFF7E40000","id":"7FFFF7E40000","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolFilePath":"/usr/lib/debug/.build-id/e9/d2c06479b13dd3cfa78d714d11dccf6fcbee51.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.498Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":35,"event":"module","body":{"module":{"addressRange":"7FFFF7C7B000","id":"7FFFF7C7B000","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolFilePath":"/usr/lib/debug/.build-id/b7/2adf59ac0a673d1eeb261e662364507cfc8615.debug","symbolStatus":"Symbols loaded."},"reason":"new"}} [2021-10-01T09:42:21.505Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 1.1: where = leaf`start + 48 at lib.rs:346:5, address = 0x0000555555afbd60, resolved, hit count = 1 [2021-10-01T09:42:21.505Z DEBUG codelldb::debug_session] Debug event: 0x7f089800a320 Event: broadcaster = 0x562b356f95e8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x562b356f95b0 (pid = 30511), state = stopped} [2021-10-01T09:42:21.505Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":36,"event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":30511}} [2021-10-01T09:42:21.511Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":11} [2021-10-01T09:42:21.511Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":11,"success":true,"command":"threads","body":{"threads":[{"id":30511,"name":"1: tid=30511 \"leaf\""}]}} [2021-10-01T09:42:21.520Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":30511,"startFrame":0,"levels":1},"type":"request","seq":12} [2021-10-01T09:42:21.526Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":12,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":5,"id":1001,"line":346,"name":"start","source":{"name":"lib.rs","path":"/root/codes/leaf/leaf/src/lib.rs"}}],"totalFrames":19}} [2021-10-01T09:42:21.622Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":13} [2021-10-01T09:42:21.622Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":13,"success":true,"command":"scopes","body":{"scopes":[{"expensive":false,"name":"Local","variablesReference":1002},{"expensive":false,"name":"Static","variablesReference":1003},{"expensive":false,"name":"Global","variablesReference":1004},{"expensive":false,"name":"Registers","variablesReference":1005}]}} [2021-10-01T09:42:21.675Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":14} [2021-10-01T09:42:21.676Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":14,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"rt_id","memoryReference":"0x7FFFFFFF96F6","name":"rt_id","type":"u16","value":"0","variablesReference":0},{"evaluateName":"opts","memoryReference":"0x7FFFFFFFCB98","name":"opts","type":"leaf::StartOptions","value":"{...}","variablesReference":1006}]}} [2021-10-01T09:42:21.676Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1003},"type":"request","seq":15} [2021-10-01T09:42:21.676Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1004},"type":"request","seq":16} [2021-10-01T09:42:21.676Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1005},"type":"request","seq":17} [2021-10-01T09:42:21.680Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":15,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"leaf::RUNTIME_MANAGER","memoryReference":"0x555556597E4D","name":"leaf::RUNTIME_MANAGER","type":"leaf::RUNTIME_MANAGER","value":"{...}","variablesReference":1007}]}} [2021-10-01T09:42:21.682Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":16,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"_$LT$leaf..RUNTIME_MANAGER$u20$as$u20$core..ops..deref..Deref$GT$::deref::__stability::LAZY","memoryReference":"0x555556A92F78","name":"_$LT$leaf..RUNTIME_MANAGER$u20$as$u20$core..ops..deref..Deref$GT$::deref::__stability::LAZY","type":"lazy_static::lazy::Lazy, std::collections::hash::map::RandomState>>>","value":"{...}","variablesReference":1008},{"evaluateName":"vtable","memoryReference":"0x5555569BAAD0","name":"vtable","type":"vtable","value":"{...}","variablesReference":0},{"evaluateName":"leaf::start::ONCE","memoryReference":"0x555556A92F70","name":"leaf::start::ONCE","type":"std::sync::once::Once","value":"{...}","variablesReference":1009}]}} [2021-10-01T09:42:21.692Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":17,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"General Purpose Registers","name":"General Purpose Registers","value":"{rax:0x0000000000000000, rbx:0x00007fffff7ff000, ...}","variablesReference":1010},{"evaluateName":"Floating Point Registers","name":"Floating Point Registers","value":"{fctrl:0x037f, fstat:0x0000, ftag:0xffff, ...}","variablesReference":1011},{"evaluateName":"Advanced Vector Extensions","name":"Advanced Vector Extensions","value":"{...}","variablesReference":1012}]}} [2021-10-01T09:42:22.006Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":30511,"startFrame":1,"levels":19},"type":"request","seq":18} [2021-10-01T09:42:22.006Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":18,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":5,"id":1013,"line":64,"name":"run_with_options","source":{"name":"util.rs","path":"/root/codes/leaf/leaf/src/util.rs"}},{"column":21,"id":1014,"line":88,"name":"main","source":{"name":"main.rs","path":"/root/codes/leaf/leaf/src/main.rs"}},{"column":0,"id":1015,"line":0,"name":"call_once"},{"column":0,"id":1016,"line":0,"name":"__rust_begin_short_backtrace"},{"column":0,"id":1017,"line":0,"name":"{closure#0}<()>"},{"column":0,"id":1018,"line":0,"name":"core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once"},{"column":0,"id":1019,"line":0,"name":"std::panicking::try::do_call"},{"column":0,"id":1020,"line":0,"name":"std::panicking::try"},{"column":0,"id":1021,"line":0,"name":"std::panic::catch_unwind"},{"column":0,"id":1022,"line":0,"name":"std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$"},{"column":0,"id":1023,"line":0,"name":"std::panicking::try::do_call"},{"column":0,"id":1024,"line":0,"name":"std::panicking::try"},{"column":0,"id":1025,"line":0,"name":"std::panic::catch_unwind"},{"column":0,"id":1026,"line":0,"name":"lang_start_internal"},{"column":0,"id":1027,"line":0,"name":"lang_start<()>"},{"column":0,"id":1028,"line":0,"name":"main"},{"column":0,"id":1029,"line":0,"name":"__libc_start_main"},{"column":0,"id":1030,"line":0,"name":"_start"}],"totalFrames":19}}
vadimcn commented 3 years ago

I've rebuilt codelldb using the newly released LLDB 13.0.0: https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.8-dev.2110040647/codelldb-bootstrap.vsix Does this fix breakpoints problems?

taikulawo commented 3 years ago

I've rebuilt codelldb using the newly released LLDB 13.0.0: https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.8-dev.2110040647/codelldb-bootstrap.vsix Does this fix breakpoints problems?

Yes! It works! v1.6.8-dev.2110040647

odex21 commented 3 years ago

I've rebuilt codelldb using the newly released LLDB 13.0.0: https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.8-dev.2110040647/codelldb-bootstrap.vsix Does this fix breakpoints problems?

Yes! It works! v1.6.8-dev.2110040647

I try the v1.6.8-dev but still not work.

tasks.json

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Build with Clang",
      "type": "shell",
      "command": "clang++",
      "args": [
        "-std=c++17",
        "-stdlib=libc++",
        "${file}",
        "-o",
        "${fileDirname}/${fileBasenameNoExtension}",
        "--debug"
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
  ]
}

lanuch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug",
      "program": "${fileDirname}/${fileBasenameNoExtension}",
      "args": [],
      "cwd": "${workspaceFolder}",
      "preLaunchTask": "Build with Clang"
    }
  ]
}
configuration: {
  type: 'lldb',
  request: 'launch',
  name: 'Debug',
  program: '${fileDirname}/${fileBasenameNoExtension}',
  args: [],
  cwd: '${workspaceFolder}',
  preLaunchTask: 'Build with Clang',
  __configurationTarget: 5,
  noDebug: true,
  relativePathBase: '/Users/do/farm/person/termial'
}
Listening on port 57390
[2021-10-04T15:32:03.800Z ERROR codelldb::debug_session] Internal debugger error: Not supported in noDebug mode.
[2021-10-04T15:32:04.390Z ERROR codelldb::debug_session] process exited with status -1 (debugserver died with signal SIGSEGV)
Debug adapter exit code=0, signal=null.
截屏2021-10-04 下午11 33 33
vadimcn commented 3 years ago

noDebug: true,

@odex21 It would seem you are launching in run mode?

odex21 commented 3 years ago

noDebug: true,

@odex21 It would seem you are launching in run mode?

Thanks, I removed the debugserver by referring here https://github.com/vadimcn/vscode-lldb/discussions/456#discussioncomment-874122, and now both the c++ and rust demos are OK.

FilipeSilvens commented 3 years ago

I've rebuilt codelldb using the newly released LLDB 13.0.0: https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.8-dev.2110040647/codelldb-bootstrap.vsix Does this fix breakpoints problems?

This fixes it, thanks! In my case breakpoints weren't hitting inside a shared library despite not having source map issues, removing the store version and installing from this vsix fixed the issue.

vadimcn commented 3 years ago

Fixed in 1.6.8

jhpratt commented 2 years ago

@vadimcn I'm hitting this issue using 1.6.10 — the latest release. Using Rust 1.57. I have not checked the intermediate Rust releases, but it works with Rust 1.51. I can check if you'd like; I presume it has something to do with an LLVM upgrade.

tejasvi commented 2 years ago

@jhpratt I you are using nightly, tracked in https://github.com/vadimcn/vscode-lldb/issues/633