Closed neyb closed 2 years ago
Could be a dupe of #726. What version of rust compiler? Does upgrading to codelldb v1.7.3 fix it?
updating extensions to 1.7.3 worked... for a reaon I ignore, I needed to uninstall /reinstall to update extension. sorry for the time lost & thank you !
OS: archlinux x64 VSCode version: code OSS 1.69.2 CodeLLDB version: 1.7.0 Compiler: rustc Debuggee: simple binary
debugging a simple code, I cannot view vec entries :
here is the code :
logs
``` configuration: { type: 'lldb', request: 'launch', name: 'run testing', program: '${workspaceFolder}/target/debug/testing', args: [], cwd: '${workspaceFolder}', sourceMap: {}, sourceLanguages: [ 'rust' ], env: { RUST_BACKTRACE: 'short', ELECTRON_RUN_AS_NODE: '1', SHELL: '/bin/fish', SESSION_MANAGER: 'local/mercury:@/tmp/.ICE-unix/2122,unix/mercury:/tmp/.ICE-unix/2122', XDG_MENU_PREFIX: 'gnome-', SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh', DESKTOP_SESSION: 'gnome', PWD: '/home/alban/dev/perso/tmp/testing', XDG_SESSION_DESKTOP: 'gnome', LOGNAME: 'alban', XDG_SESSION_TYPE: 'wayland', SYSTEMD_EXEC_PID: '2139', XAUTHORITY: '/run/user/1000/.mutter-Xwaylandauth.R9ENP1', GJS_DEBUG_TOPICS: 'JS ERROR;JS LOG', MOTD_SHOWN: 'pam', GDM_LANG: 'fr_FR.UTF-8', HOME: '/home/alban', USERNAME: 'alban', LANG: 'fr_FR.UTF-8', XDG_CURRENT_DESKTOP: 'GNOME', STARSHIP_SHELL: 'fish', WAYLAND_DISPLAY: 'wayland-0', INVOCATION_ID: 'bc78796c6df445d0a1eb76a1907adbd2', MANAGERPID: '2026', STARSHIP_SESSION_KEY: '3272919839144251', GJS_DEBUG_OUTPUT: 'stderr', GNOME_SETUP_DISPLAY: ':1', XDG_SESSION_CLASS: 'user', USER: 'alban', DISPLAY: ':0', SHLVL: '1', XDG_RUNTIME_DIR: '/run/user/1000', JOURNAL_STREAM: '8:16838', XDG_DATA_DIRS: '/home/alban/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/', PATH: '/home/alban/formation/formation-java-debutant/Exercises/jdk-17.0.3+7/bin:/home/alban/.jdks/temurin-17.0.3/bin:/home/alban/.jdks/temurin-17.0.3:/home/alban/.cargo/bin:/home/alban/bin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl', GDMSESSION: 'gnome', DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus', MAIL: '/var/spool/mail/alban', GIO_LAUNCHED_DESKTOP_FILE_PID: '3388', GIO_LAUNCHED_DESKTOP_FILE: '/usr/share/applications/code-oss.desktop', VSCODE_CWD: '/home/alban/dev/perso/tmp/testing', APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: 'true', VSCODE_CLI: '1', ELECTRON_NO_ATTACH_CONSOLE: '1', CHROME_DESKTOP: 'code-oss.desktop', ORIGINAL_XDG_CURRENT_DESKTOP: 'GNOME', GDK_BACKEND: 'x11', NO_AT_BRIDGE: '1', VSCODE_NLS_CONFIG: '{"locale":"fr","availableLanguages":{"*":"fr"},"_languagePackId":"eefaa11490da3b49c69ed678864e2a80.fr","_translationsConfigFile":"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/tcf.json","_cacheRoot":"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr","_resolvedLanguagePackCoreLocation":"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/3b889b090b5ad5793f524b5d1d39fda662b96a2a","_corruptedFile":"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/corrupted.info","_languagePackSupport":true}', VSCODE_CODE_CACHE_PATH: '/home/alban/.config/Code - OSS/CachedData/3b889b090b5ad5793f524b5d1d39fda662b96a2a', VSCODE_IPC_HOOK: '/run/user/1000/vscode-351c0a82-1.69.2-main.sock', VSCODE_PID: '3420', COLORTERM: 'truecolor', LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', VTE_VERSION: '6800', GNOME_TERMINAL_SCREEN: '/org/gnome/Terminal/screen/d66a141f_97de_43d3_95f9_49801dcd6bf4', TERM: 'xterm-256color', GNOME_TERMINAL_SERVICE: ':1.122', VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess', VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true' }, relativePathBase: '/home/alban/dev/perso/tmp/testing' } liblldb: /home/alban/.vscode-oss/extensions/vadimcn.vscode-lldb-1.7.0/lldb/lib/liblldb.so environment: {} params: { evaluateForHovers: true, commandCompletions: true, sourceLanguages: [ 'rust' ] } [2022-07-25T17:21:59.464Z DEBUG codelldb] New debug session INFO(Python) 19:21:59 formatters: Initializing INFO(Python) 19:21:59 formatters.rust: Initializing [2022-07-25T17:21:59.555Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Code - OSS","adapterID":"lldb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"fr","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true},"type":"request","seq":1} [2022-07-25T17:21:59.555Z DEBUG codelldb::dap_codec] <-- {"seq":1,"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,"supportsWriteMemoryRequest":true}} [2022-07-25T17:21:59.571Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"run testing","program":"/home/alban/dev/perso/tmp/testing/target/debug/testing","args":[],"cwd":"/home/alban/dev/perso/tmp/testing","sourceMap":{},"sourceLanguages":["rust"],"env":{"RUST_BACKTRACE":"short","ELECTRON_RUN_AS_NODE":"1","SHELL":"/bin/fish","SESSION_MANAGER":"local/mercury:@/tmp/.ICE-unix/2122,unix/mercury:/tmp/.ICE-unix/2122","XDG_MENU_PREFIX":"gnome-","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","DESKTOP_SESSION":"gnome","PWD":"/home/alban/dev/perso/tmp/testing","XDG_SESSION_DESKTOP":"gnome","LOGNAME":"alban","XDG_SESSION_TYPE":"wayland","SYSTEMD_EXEC_PID":"2139","XAUTHORITY":"/run/user/1000/.mutter-Xwaylandauth.R9ENP1","GJS_DEBUG_TOPICS":"JS ERROR;JS LOG","MOTD_SHOWN":"pam","GDM_LANG":"fr_FR.UTF-8","HOME":"/home/alban","USERNAME":"alban","LANG":"fr_FR.UTF-8","XDG_CURRENT_DESKTOP":"GNOME","STARSHIP_SHELL":"fish","WAYLAND_DISPLAY":"wayland-0","INVOCATION_ID":"bc78796c6df445d0a1eb76a1907adbd2","MANAGERPID":"2026","STARSHIP_SESSION_KEY":"3272919839144251","GJS_DEBUG_OUTPUT":"stderr","GNOME_SETUP_DISPLAY":":1","XDG_SESSION_CLASS":"user","USER":"alban","DISPLAY":":0","SHLVL":"1","XDG_RUNTIME_DIR":"/run/user/1000","JOURNAL_STREAM":"8:16838","XDG_DATA_DIRS":"/home/alban/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/","PATH":"/home/alban/formation/formation-java-debutant/Exercises/jdk-17.0.3+7/bin:/home/alban/.jdks/temurin-17.0.3/bin:/home/alban/.jdks/temurin-17.0.3:/home/alban/.cargo/bin:/home/alban/bin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","GDMSESSION":"gnome","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","MAIL":"/var/spool/mail/alban","GIO_LAUNCHED_DESKTOP_FILE_PID":"3388","GIO_LAUNCHED_DESKTOP_FILE":"/usr/share/applications/code-oss.desktop","VSCODE_CWD":"/home/alban/dev/perso/tmp/testing","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true","VSCODE_CLI":"1","ELECTRON_NO_ATTACH_CONSOLE":"1","CHROME_DESKTOP":"code-oss.desktop","ORIGINAL_XDG_CURRENT_DESKTOP":"GNOME","GDK_BACKEND":"x11","NO_AT_BRIDGE":"1","VSCODE_NLS_CONFIG":"{\"locale\":\"fr\",\"availableLanguages\":{\"*\":\"fr\"},\"_languagePackId\":\"eefaa11490da3b49c69ed678864e2a80.fr\",\"_translationsConfigFile\":\"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/tcf.json\",\"_cacheRoot\":\"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr\",\"_resolvedLanguagePackCoreLocation\":\"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/3b889b090b5ad5793f524b5d1d39fda662b96a2a\",\"_corruptedFile\":\"/home/alban/.config/Code - OSS/clp/eefaa11490da3b49c69ed678864e2a80.fr/corrupted.info\",\"_languagePackSupport\":true}","VSCODE_CODE_CACHE_PATH":"/home/alban/.config/Code - OSS/CachedData/3b889b090b5ad5793f524b5d1d39fda662b96a2a","VSCODE_IPC_HOOK":"/run/user/1000/vscode-351c0a82-1.69.2-main.sock","VSCODE_PID":"3420","COLORTERM":"truecolor","LS_COLORS":"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:","VTE_VERSION":"6800","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/d66a141f_97de_43d3_95f9_49801dcd6bf4","TERM":"xterm-256color","GNOME_TERMINAL_SERVICE":":1.122","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true"},"relativePathBase":"/home/alban/dev/perso/tmp/testing","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"fa834e27-8fd0-4621-884d-4d6c1f4c4eac"},"type":"request","seq":2} [2022-07-25T17:21:59.572Z DEBUG codelldb::dap_codec] <-- {"seq":2,"type":"event","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,"supportsWriteMemoryRequest":true}}} [2022-07-25T17:21:59.572Z DEBUG codelldb::dap_codec] <-- {"seq":3,"type":"event","event":"output","body":{"output":"Console is in 'commands' mode, prefix expressions with '?'.\n"}} [2022-07-25T17:21:59.600Z DEBUG codelldb::dap_codec] <-- {"seq":4,"type":"event","event":"initialized"} [2022-07-25T17:21:59.600Z DEBUG codelldb::debug_session] Debug event: 0x5614e541a2d0 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {testing} [2022-07-25T17:21:59.600Z DEBUG codelldb::dap_codec] <-- {"seq":5,"type":"event","event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"testing","path":"/home/alban/dev/perso/tmp/testing/target/debug/testing","symbolFilePath":"/home/alban/dev/perso/tmp/testing/target/debug/testing","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.601Z DEBUG codelldb::dap_codec] <-- {"seq":6,"type":"request","command":"runInTerminal","arguments":{"args":["/home/alban/.vscode-oss/extensions/vadimcn.vscode-lldb-1.7.0/adapter/codelldb","terminal-agent","--connect=45979"],"cwd":"","kind":"integrated","title":"run testing"}} [2022-07-25T17:21:59.606Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.rs","path":"/home/alban/dev/perso/tmp/testing/src/main.rs"},"lines":[3],"breakpoints":[{"line":3}],"sourceModified":false},"type":"request","seq":3} [2022-07-25T17:21:59.609Z DEBUG codelldb::debug_session] Debug event: 0x5614e55b6a90 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.609Z DEBUG codelldb::dap_codec] <-- {"seq":7,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":3,"message":"Resolved locations: 0","verified":true}]}} [2022-07-25T17:21:59.647Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4} [2022-07-25T17:21:59.648Z DEBUG codelldb::dap_codec] <-- {"seq":8,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} [2022-07-25T17:21:59.649Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":5,"command":"runInTerminal","request_seq":6,"success":true,"body":{"shellProcessId":4830}} [2022-07-25T17:21:59.692Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6} [2022-07-25T17:21:59.692Z DEBUG codelldb::dap_codec] <-- {"seq":9,"type":"response","request_seq":6,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}} [2022-07-25T17:21:59.698Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["rust_panic"]},"type":"request","seq":7} [2022-07-25T17:21:59.700Z DEBUG codelldb::debug_session] Debug event: 0x5614e53da770 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.700Z DEBUG codelldb::dap_codec] <-- {"seq":10,"type":"response","request_seq":7,"success":true,"command":"setExceptionBreakpoints"} [2022-07-25T17:21:59.703Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":8} [2022-07-25T17:21:59.703Z DEBUG codelldb::dap_codec] <-- {"seq":11,"type":"event","event":"output","body":{"output":"Launching: /home/alban/dev/perso/tmp/testing/target/debug/testing\n"}} [2022-07-25T17:21:59.711Z DEBUG codelldb::debug_session] Debug event: 0x5614e53edbb0 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-linux-x86-64.so.2} [2022-07-25T17:21:59.711Z DEBUG codelldb::dap_codec] <-- {"seq":12,"type":"event","event":"output","body":{"output":"Launched process 9491\n"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::debug_session] Debug event: 0x5614e55f4480 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fc4000)} [2022-07-25T17:21:59.712Z DEBUG codelldb::debug_session] Debug event: 0x5614e53eea80 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.712Z DEBUG codelldb::debug_session] Debug event: 0x5614e55f4430 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.712Z DEBUG codelldb::debug_session] Debug event: 0x5614e55e7390 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {testing} [2022-07-25T17:21:59.712Z DEBUG codelldb::debug_session] Debug event: 0x5614e55dd040 Event: broadcaster = 0x5614e53ec3c8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5614e53ec390 (pid = 9491), state = running} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":13,"type":"response","request_seq":2,"success":true,"command":"launch"} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":14,"type":"response","request_seq":8,"success":true,"command":"configurationDone"} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":15,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FC6000","id":"7FFFF7FC6000","name":"ld-linux-x86-64.so.2","path":"/usr/lib/ld-linux-x86-64.so.2","symbolFilePath":"/usr/lib/ld-linux-x86-64.so.2","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":16,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FC4000","id":"7FFFF7FC4000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":17,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":1,"line":3,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":18,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":2,"message":"Resolved locations: 1","verified":true},"reason":"changed"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":19,"type":"event","event":"module","body":{"module":{"addressRange":"555555554000","id":"555555554000","name":"testing","path":"/home/alban/dev/perso/tmp/testing/target/debug/testing","symbolFilePath":"/home/alban/dev/perso/tmp/testing/target/debug/testing","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.712Z DEBUG codelldb::dap_codec] <-- {"seq":20,"type":"event","event":"continued","body":{"allThreadsContinued":true,"threadId":0}} [2022-07-25T17:21:59.713Z DEBUG codelldb::debug_session] Debug event: 0x7f654c019040 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {ld-linux-x86-64.so.2} [2022-07-25T17:21:59.713Z DEBUG codelldb::debug_session] Debug event: 0x7f654c0089c0 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.713Z DEBUG codelldb::dap_codec] <-- {"seq":21,"type":"event","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"}} [2022-07-25T17:21:59.713Z DEBUG codelldb::debug_session] Debug event: 0x7f654c018980 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-07-25T17:21:59.713Z DEBUG codelldb::debug_session] Debug event: 0x7f654c019cd0 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000004 (modules-unloaded), data = {ld-linux-x86-64.so.2} [2022-07-25T17:21:59.713Z DEBUG codelldb::debug_session] Debug event: 0x7f654c019d80 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {[vdso](0x00007ffff7fc4000)} [2022-07-25T17:21:59.713Z DEBUG codelldb::dap_codec] <-- {"seq":22,"type":"event","event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}} [2022-07-25T17:21:59.713Z DEBUG codelldb::dap_codec] <-- {"seq":23,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7FC4000","id":"7FFFF7FC4000","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found"},"reason":"new"}} [2022-07-25T17:21:59.718Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":9} [2022-07-25T17:21:59.718Z DEBUG codelldb::dap_codec] <-- {"seq":24,"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[{"id":9491,"name":"1: tid=9491 \"testing\""}]}} [2022-07-25T17:21:59.720Z DEBUG codelldb::debug_session] Debug event: 0x7f654c0c7b00 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1} [2022-07-25T17:21:59.720Z DEBUG codelldb::dap_codec] <-- {"seq":25,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7F81000","id":"7FFFF7F81000","name":"libgcc_s.so.1","path":"/usr/lib/libgcc_s.so.1","symbolFilePath":"/usr/lib/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.724Z DEBUG codelldb::debug_session] Debug event: 0x7f654c0ca870 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc.so.6} [2022-07-25T17:21:59.724Z DEBUG codelldb::debug_session] Debug event: 0x7f654c0ca930 Event: broadcaster = 0x5614e4754c18 (lldb.target), type = 0x00000002 (modules-loaded), data = {libgcc_s.so.1, libc.so.6} [2022-07-25T17:21:59.724Z DEBUG codelldb::dap_codec] <-- {"seq":26,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7D75000","id":"7FFFF7D75000","name":"libc.so.6","path":"/usr/lib/libc.so.6","symbolFilePath":"/usr/lib/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.724Z DEBUG codelldb::dap_codec] <-- {"seq":27,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7F81000","id":"7FFFF7F81000","name":"libgcc_s.so.1","path":"/usr/lib/libgcc_s.so.1","symbolFilePath":"/usr/lib/libgcc_s.so.1","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.724Z DEBUG codelldb::dap_codec] <-- {"seq":28,"type":"event","event":"module","body":{"module":{"addressRange":"7FFFF7D75000","id":"7FFFF7D75000","name":"libc.so.6","path":"/usr/lib/libc.so.6","symbolFilePath":"/usr/lib/libc.so.6","symbolStatus":"Symbols loaded."},"reason":"new"}} [2022-07-25T17:21:59.725Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 1.1: where = testing`main + 87 at main.rs:3:20, address = 0x0000555555561027, resolved, hit count = 1 [2022-07-25T17:21:59.725Z DEBUG codelldb::debug_session] Debug event: 0x7f654c028de0 Event: broadcaster = 0x5614e53ec3c8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5614e53ec390 (pid = 9491), state = stopped} [2022-07-25T17:21:59.725Z DEBUG codelldb::dap_codec] <-- {"seq":29,"type":"event","event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":9491}} [2022-07-25T17:21:59.731Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10} [2022-07-25T17:21:59.731Z DEBUG codelldb::dap_codec] <-- {"seq":30,"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":9491,"name":"1: tid=9491 \"testing\""}]}} [2022-07-25T17:21:59.734Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":9491,"startFrame":0,"levels":1},"type":"request","seq":11} [2022-07-25T17:21:59.735Z DEBUG codelldb::dap_codec] <-- {"seq":31,"type":"response","request_seq":11,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":20,"id":1001,"line":3,"name":"main","source":{"name":"main.rs","path":"/home/alban/dev/perso/tmp/testing/src/main.rs"}}],"totalFrames":18}} [2022-07-25T17:22:00.148Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":12} [2022-07-25T17:22:00.149Z DEBUG codelldb::dap_codec] <-- {"seq":32,"type":"response","request_seq":12,"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}]}} [2022-07-25T17:22:00.155Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":13} [2022-07-25T17:22:00.161Z DEBUG codelldb::dap_codec] <-- {"seq":33,"type":"response","request_seq":13,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"x","memoryReference":"0x7FFFFFFFD688","name":"x","type":"alloc::vec::Vec<&str, alloc::alloc::Global>","value":"(2) vec![{...}, {...}]","variablesReference":1006}]}} [2022-07-25T17:22:00.167Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":9491,"startFrame":1,"levels":19},"type":"request","seq":14} [2022-07-25T17:22:00.167Z DEBUG codelldb::disassembly] testing`call_once