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

Local variables disppear when debugging a function that takes &Path #648

Open Osse opened 2 years ago

Osse commented 2 years ago

OS: Microsoft Windows [Version 10.0.19044.1526] VSCode version: 1.64.2 CodeLLDB version: v1.6.10 Compiler: rustc 1.58.0 (02072b482 2022-01-11) Debuggee: 1.58.0-x86_64-windows-msvc

Calling a function that takes a &Path with a &PathBuf makes CodeLLDB unable to show variables. If I change the called function to take a &PathBuf then local variables are shown. In both cases if I step further into an inner function call then the local variables are shown again.

Minimal example:

fn inner_func(s: &str) {
    dbg!(s);
}

fn takes_path(_: &std::path::Path) {
    let x = "hello";
    inner_func(x);
}

fn main() {
    let f = std::path::PathBuf::from("lol");
    takes_path(&f);
}

Stepping into takes_path() clears the list of local variables, instead of showing x. Stepping further into inner_func() will show s just fine.

I thought perhaps it had to do with AsRef, but changing the example to use &String and &str, or Vec<i32> and &[i32] works. Using -gnu works in both cases. I have not tested 1.59.0 yet, but will update the issue once I have.

Logs below for the two cases, with break points on lines 7 and 12.

Verbose log with &Path
Running `cargo build --bin=tagsparser --package=tagsparser --message-format=json`...
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Raw artifacts:
{
  fileName: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  name: 'tagsparser',
  kind: 'bin'
}
Filtered artifacts: 
{
  fileName: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  name: 'tagsparser',
  kind: 'bin'
}
configuration: {
  type: 'lldb',
  request: 'launch',
  name: "Debug executable 'tagsparser'",
  args: [],
  cwd: '${workspaceFolder}',
  __configurationTarget: 5,
  relativePathBase: 'c:\\git\\walle\\lldb-reprod',
  program: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  sourceLanguages: [ 'rust' ]
}
liblldb: c:\Users\walle\.vscode\extensions\vadimcn.vscode-lldb-1.6.10\lldb\bin\liblldb.dll
environment: {}
params: {
  evaluateForHovers: true,
  commandCompletions: true,
  sourceLanguages: [ 'rust' ]
}
Listening on port 51031
[2022-02-25T10:18:24.646Z DEBUG codelldb] New debug session
INFO(Python) 11:18:25 formatters: Initializing
INFO(Python) 11:18:25 formatters.rust: Initializing
[2022-02-25T10:18:25.050Z 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,"supportsMemoryReferences":true},"type":"request","seq":1}
[2022-02-25T10:18:25.051Z 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}}
[2022-02-25T10:18:25.055Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"Debug executable 'tagsparser'","args":[],"cwd":"C:\\git\\walle\\lldb-reprod","__configurationTarget":5,"relativePathBase":"c:\\git\\walle\\lldb-reprod","program":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","sourceLanguages":["rust"],"_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"9aea49a6-e642-4ada-9318-3d199229262b"},"type":"request","seq":2}
[2022-02-25T10:18:25.055Z 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}}}
[2022-02-25T10:18:25.078Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":2,"event":"initialized"}
[2022-02-25T10:18:25.078Z DEBUG codelldb::debug_session] Debug event: 000001B92B593200 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:18:25.078Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":3,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.078Z DEBUG codelldb::dap_codec] <-- {"type":"request","seq":4,"command":"runInTerminal","arguments":{"args":["c:\\Users\\walle\\.vscode\\extensions\\vadimcn.vscode-lldb-1.6.10\\adapter\\codelldb.exe","terminal-agent","--port=51033"],"cwd":"","kind":"integrated","title":"Debug executable 'tagsparser'"}}
[2022-02-25T10:18:25.094Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"},"lines":[7,12],"breakpoints":[{"line":7},{"line":12}],"sourceModified":false},"type":"request","seq":3}
[2022-02-25T10:18:25.101Z DEBUG codelldb::debug_session] Debug event: 000001B92BC1F020 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:25.101Z DEBUG codelldb::debug_session] Debug event: 000001B92BC207E0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:25.101Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":7,"message":"Resolved locations: 0","verified":true},{"id":2,"line":12,"message":"Resolved locations: 0","verified":true}]}}
[2022-02-25T10:18:25.122Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":4,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":51496}}
[2022-02-25T10:18:25.125Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5}
[2022-02-25T10:18:25.125Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":5,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
[2022-02-25T10:18:25.138Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6}
[2022-02-25T10:18:25.138Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":6,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}}
[2022-02-25T10:18:25.154Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":7}
[2022-02-25T10:18:25.154Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":7,"success":true,"command":"setExceptionBreakpoints"}
[2022-02-25T10:18:25.169Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":8}
[2022-02-25T10:18:25.170Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":8,"success":true,"command":"configurationDone"}
[2022-02-25T10:18:25.172Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":9}
[2022-02-25T10:18:25.172Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[]}}
[adapter\src\terminal.rs:104] FreeConsole() = 1
[2022-02-25T10:18:25.193Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":5,"event":"output","body":{"output":"Launching: c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe\n"}}
[adapter\src\terminal.rs:105] AttachConsole(pid) = 1
[adapter\src\terminal.rs:109] FreeConsole() = 1
[2022-02-25T10:18:25.243Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":6,"event":"output","body":{"output":"Launched process 54652\n"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC99AD0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":2,"success":true,"command":"launch"}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC99890 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":7,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":7,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A050 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":8,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":12,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A310 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":9,"event":"module","body":{"module":{"addressRange":"7FF62AC60000","id":"7FF62AC60000","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC99610 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":10,"event":"module","body":{"module":{"addressRange":"7FFDB5630000","id":"7FFDB5630000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":11,"event":"module","body":{"module":{"addressRange":"7FFDB5630000","id":"7FFDB5630000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC997D0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":12,"event":"module","body":{"module":{"addressRange":"7FFDB4150000","id":"7FFDB4150000","name":"kernel32.dll","path":"C:\\Windows\\System32\\kernel32.dll","symbolFilePath":"C:\\Windows\\System32\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9AFD0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":13,"event":"module","body":{"module":{"addressRange":"7FFDB4150000","id":"7FFDB4150000","name":"kernel32.dll","path":"C:\\Windows\\System32\\kernel32.dll","symbolFilePath":"C:\\Windows\\System32\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A390 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":14,"event":"module","body":{"module":{"addressRange":"7FFDB3060000","id":"7FFDB3060000","name":"KernelBase.dll","path":"C:\\Windows\\System32\\KernelBase.dll","symbolFilePath":"C:\\Windows\\System32\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9B150 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":15,"event":"module","body":{"module":{"addressRange":"7FFDB3060000","id":"7FFDB3060000","name":"KernelBase.dll","path":"C:\\Windows\\System32\\KernelBase.dll","symbolFilePath":"C:\\Windows\\System32\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A8D0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9B310 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":16,"event":"module","body":{"module":{"addressRange":"7FFDB2EC0000","id":"7FFDB2EC0000","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A690 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {vcruntime140.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":17,"event":"module","body":{"module":{"addressRange":"7FFDB2EC0000","id":"7FFDB2EC0000","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9AB90 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {vcruntime140.dll}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":18,"event":"module","body":{"module":{"addressRange":"7FFD95F20000","id":"7FFD95F20000","name":"vcruntime140.dll","path":"C:\\Windows\\System32\\vcruntime140.dll","symbolFilePath":"C:\\Windows\\System32\\vcruntime140.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9AF50 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":19,"event":"module","body":{"module":{"addressRange":"7FFD95F20000","id":"7FFD95F20000","name":"vcruntime140.dll","path":"C:\\Windows\\System32\\vcruntime140.dll","symbolFilePath":"C:\\Windows\\System32\\vcruntime140.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":20,"event":"module","body":{"module":{"addressRange":"7FF62AC60000","id":"7FF62AC60000","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:25.244Z DEBUG codelldb::debug_session] Debug event: 000001B92B812F70 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = running}
[2022-02-25T10:18:25.244Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":21,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:18:25.248Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 2.1: where = tagsparser.exe`static void tagsparser::main() + 48 at main.rs:12, address = 0x00007ff62ac61640, resolved, hit count = 1 

[2022-02-25T10:18:25.249Z DEBUG codelldb::debug_session] Debug event: 000001B92B811F20 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = stopped}
[2022-02-25T10:18:25.249Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":22,"event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":44792}}
[2022-02-25T10:18:25.258Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10}
[2022-02-25T10:18:25.258Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":22380,"name":"2: tid=22380"},{"id":44792,"name":"1: tid=44792"},{"id":54612,"name":"3: tid=54612"}]}}
[2022-02-25T10:18:25.267Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":44792,"startFrame":0,"levels":1},"type":"request","seq":11}
[2022-02-25T10:18:25.271Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":11,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"line":12,"name":"static void tagsparser::main()","source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"}}],"totalFrames":10}}
[2022-02-25T10:18:25.699Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":12}
[2022-02-25T10:18:25.699Z DEBUG codelldb::dap_codec] <-- {"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-02-25T10:18:25.711Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":44792,"startFrame":1,"levels":19},"type":"request","seq":13}
[2022-02-25T10:18:25.712Z DEBUG codelldb::disassembly] tagsparser.exe`void core::ops::function::FnOnce::call_once >( *) + 11 at function.rs:227
[2022-02-25T10:18:25.712Z DEBUG codelldb::disassembly] tagsparser.exe`void std::sys_common::backtrace::__rust_begin_short_backtrace >( *) + 27 at backtrace.rs:126
[2022-02-25T10:18:25.713Z DEBUG codelldb::disassembly] tagsparser.exe`int std::rt::lang_start::closure$0 >(struct std::rt::lang_start::closure$0 *) + 17 at rt.rs:145
[2022-02-25T10:18:25.719Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":14}
[2022-02-25T10:18:25.749Z DEBUG codelldb::disassembly] tagsparser.exe`void std::rt::lang_start_internal() + 43 at rt.rs:128
[2022-02-25T10:18:25.749Z DEBUG codelldb::disassembly] tagsparser.exe`__int64 std::rt::lang_start >( *, __int64, unsigned char * *) + 47 at rt.rs:144
[2022-02-25T10:18:25.749Z DEBUG codelldb::disassembly] tagsparser.exe`main + 22
[2022-02-25T10:18:25.750Z DEBUG codelldb::disassembly] tagsparser.exe`static int __scrt_common_main_seh() + 268 at exe_common.inl:288
[2022-02-25T10:18:25.751Z DEBUG codelldb::disassembly] kernel32.dll`BaseThreadInitThunk + 20
[2022-02-25T10:18:25.753Z DEBUG codelldb::disassembly] ntdll.dll`RtlUserThreadStart + 33
[2022-02-25T10:18:25.754Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1006,"line":6,"name":"void core::ops::function::FnOnce::call_once >( *)","presentationHint":"subtle","source":{"name":"@core::ops::function::FnOnce::call_once::h3b08ccbaef843a69","sourceReference":1000}},{"column":0,"id":1007,"line":9,"name":"void std::sys_common::backtrace::__rust_begin_short_backtrace >( *)","presentationHint":"subtle","source":{"name":"@std::sys_common::backtrace::__rust_begin_short_backtrace::h1f05df1697e570d7","sourceReference":1001}},{"column":0,"id":1008,"line":7,"name":"int std::rt::lang_start::closure$0 >(struct std::rt::lang_start::closure$0 *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hece0d6dfb930bb61","sourceReference":1002}},{"column":0,"id":1009,"line":14,"name":"void std::rt::lang_start_internal()","presentationHint":"subtle","source":{"name":"@std::rt::lang_start_internal::h4553fde2b3201709","sourceReference":1003}},{"column":0,"id":1010,"line":13,"name":"__int64 std::rt::lang_start >( *, __int64, unsigned char * *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::h79178382cf34c34d","sourceReference":1004}},{"column":0,"id":1011,"line":8,"name":"main","presentationHint":"subtle","source":{"name":"@main","sourceReference":1005}},{"column":0,"id":1012,"line":3,"name":"static int __scrt_common_main_seh()","presentationHint":"subtle","source":{"name":"@7ff62ac7aef4..7ff62ac7af5b","sourceReference":1006}},{"column":0,"id":1013,"line":9,"name":"BaseThreadInitThunk","presentationHint":"subtle","source":{"name":"@BaseThreadInitThunk","sourceReference":1007}},{"column":0,"id":1014,"line":12,"name":"RtlUserThreadStart","presentationHint":"subtle","source":{"name":"@RtlUserThreadStart","sourceReference":1008}}],"totalFrames":10}}
[2022-02-25T10:18:25.808Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":14,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"f","memoryReference":"0xD50F38FAE0","name":"f","type":"std::path::PathBuf","value":"\"lol\"","variablesReference":1015}]}}
[2022-02-25T10:18:26.369Z DEBUG codelldb::dap_codec] --> {"command":"continue","arguments":{"threadId":44792},"type":"request","seq":15}
[2022-02-25T10:18:26.369Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":15,"success":true,"command":"continue","body":{"allThreadsContinued":true}}
[2022-02-25T10:18:26.369Z DEBUG codelldb::debug_session] Debug event: 000001B929E8AEE0 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = running}
[2022-02-25T10:18:26.369Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":23,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:18:26.371Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 1.1: where = tagsparser.exe`tagsparser.exe[0x00000001400015f3], address = 0x00007ff62ac615f3, resolved, hit count = 1 

[2022-02-25T10:18:26.371Z DEBUG codelldb::debug_session] Debug event: 000001B929E8ACD0 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = stopped}
[2022-02-25T10:18:26.371Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":24,"event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":44792}}
[2022-02-25T10:18:26.381Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":16}
[2022-02-25T10:18:26.381Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":16,"success":true,"command":"threads","body":{"threads":[{"id":22380,"name":"2: tid=22380"},{"id":44792,"name":"1: tid=44792"},{"id":54612,"name":"3: tid=54612"}]}}
[2022-02-25T10:18:26.393Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":44792,"startFrame":0,"levels":1},"type":"request","seq":17}
[2022-02-25T10:18:26.394Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":17,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"line":7,"name":"1400015F3","source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"}}],"totalFrames":11}}
[2022-02-25T10:18:26.783Z DEBUG codelldb::dap_codec] --> {"command":"continue","arguments":{"threadId":44792},"type":"request","seq":18}
[2022-02-25T10:18:26.783Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":18,"success":true,"command":"continue","body":{"allThreadsContinued":true}}
[2022-02-25T10:18:26.783Z DEBUG codelldb::debug_session] Debug event: 000001B929E8AFD0 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = running}
[2022-02-25T10:18:26.783Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":25,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:18:26.789Z DEBUG codelldb::debug_session] Debug event: 000001B92BC20B20 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel.appcore.dll}
[2022-02-25T10:18:26.789Z DEBUG codelldb::debug_session] Debug event: 000001B92BC201A0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel.appcore.dll}
[2022-02-25T10:18:26.789Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":26,"event":"module","body":{"module":{"addressRange":"7FFDB1530000","id":"7FFDB1530000","name":"kernel.appcore.dll","path":"C:\\Windows\\System32\\kernel.appcore.dll","symbolFilePath":"C:\\Windows\\System32\\kernel.appcore.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.789Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":27,"event":"module","body":{"module":{"addressRange":"7FFDB1530000","id":"7FFDB1530000","name":"kernel.appcore.dll","path":"C:\\Windows\\System32\\kernel.appcore.dll","symbolFilePath":"C:\\Windows\\System32\\kernel.appcore.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.797Z DEBUG codelldb::debug_session] Debug event: 000001B92BC1D1A0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {msvcrt.dll}
[2022-02-25T10:18:26.798Z DEBUG codelldb::debug_session] Debug event: 000001B92BC201A0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {msvcrt.dll}
[2022-02-25T10:18:26.798Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":28,"event":"module","body":{"module":{"addressRange":"7FFDB54A0000","id":"7FFDB54A0000","name":"msvcrt.dll","path":"C:\\Windows\\System32\\msvcrt.dll","symbolFilePath":"C:\\Windows\\System32\\msvcrt.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.798Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":29,"event":"module","body":{"module":{"addressRange":"7FFDB54A0000","id":"7FFDB54A0000","name":"msvcrt.dll","path":"C:\\Windows\\System32\\msvcrt.dll","symbolFilePath":"C:\\Windows\\System32\\msvcrt.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.804Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9A9D0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {rpcrt4.dll}
[2022-02-25T10:18:26.804Z DEBUG codelldb::debug_session] Debug event: 000001B92BC9BB10 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000002 (modules-loaded), data = {rpcrt4.dll}
[2022-02-25T10:18:26.804Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":30,"event":"module","body":{"module":{"addressRange":"7FFDB4210000","id":"7FFDB4210000","name":"rpcrt4.dll","path":"C:\\Windows\\System32\\rpcrt4.dll","symbolFilePath":"C:\\Windows\\System32\\rpcrt4.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.804Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":31,"event":"module","body":{"module":{"addressRange":"7FFDB4210000","id":"7FFDB4210000","name":"rpcrt4.dll","path":"C:\\Windows\\System32\\rpcrt4.dll","symbolFilePath":"C:\\Windows\\System32\\rpcrt4.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:18:26.804Z DEBUG codelldb::debug_session] Debug event: 000001B92AF388E0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:26.804Z DEBUG codelldb::debug_session] Debug event: 000001B92AF394E0 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:18:26.805Z DEBUG codelldb::debug_session] Debug event: 000001B92AF38F60 Event: broadcaster = 000001B92BC8A648 (lldb.target), type = 0x00000004 (modules-unloaded), data = {tagsparser.exe}
[2022-02-25T10:18:26.805Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":32,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}}
[2022-02-25T10:18:26.805Z DEBUG codelldb::debug_session] Debug event: 000001B929EAF1B0 Event: broadcaster = 000001B92B81BCF8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 000001B92B81BCD0 (pid = 54652), state = exited}
[2022-02-25T10:18:26.805Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":33,"event":"output","body":{"output":"Process exited with code 0.\n"}}
[2022-02-25T10:18:26.805Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":34,"event":"exited","body":{"exitCode":0}}
[2022-02-25T10:18:26.805Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":35,"event":"terminated","body":{}}
[2022-02-25T10:18:26.811Z DEBUG codelldb::dap_codec] --> {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":19}
[2022-02-25T10:18:26.811Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":19,"success":true,"command":"disconnect"}
[2022-02-25T10:18:27.324Z DEBUG codelldb::dap_session] Client has disconnected
[2022-02-25T10:18:27.324Z DEBUG codelldb::debug_session] End of the requests stream
[2022-02-25T10:18:27.324Z DEBUG codelldb::debug_session] DebugSession::drop()
[2022-02-25T10:18:27.324Z DEBUG codelldb] Session has ended
[2022-02-25T10:18:27.336Z DEBUG codelldb] Exiting
Debug adapter exit code=0, signal=null.
Osse commented 2 years ago
Verbose log with &PathBuf
Running `cargo build --bin=tagsparser --package=tagsparser --message-format=json`...
   Compiling tagsparser v0.1.0 (C:\git\walle\lldb-reprod)
    Finished dev [unoptimized + debuginfo] target(s) in 0.72s
Raw artifacts:
{
  fileName: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  name: 'tagsparser',
  kind: 'bin'
}
Filtered artifacts: 
{
  fileName: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  name: 'tagsparser',
  kind: 'bin'
}
configuration: {
  type: 'lldb',
  request: 'launch',
  name: "Debug executable 'tagsparser'",
  args: [],
  cwd: '${workspaceFolder}',
  __configurationTarget: 5,
  relativePathBase: 'c:\\git\\walle\\lldb-reprod',
  program: 'c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe',
  sourceLanguages: [ 'rust' ]
}
liblldb: c:\Users\walle\.vscode\extensions\vadimcn.vscode-lldb-1.6.10\lldb\bin\liblldb.dll
environment: {}
params: {
  evaluateForHovers: true,
  commandCompletions: true,
  sourceLanguages: [ 'rust' ]
}
Listening on port 51061
[2022-02-25T10:19:34.586Z DEBUG codelldb] New debug session
INFO(Python) 11:19:35 formatters: Initializing
INFO(Python) 11:19:35 formatters.rust: Initializing
[2022-02-25T10:19:35.867Z 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,"supportsMemoryReferences":true},"type":"request","seq":1}
[2022-02-25T10:19:35.867Z 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}}
[2022-02-25T10:19:35.878Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"Debug executable 'tagsparser'","args":[],"cwd":"C:\\git\\walle\\lldb-reprod","__configurationTarget":5,"relativePathBase":"c:\\git\\walle\\lldb-reprod","program":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","sourceLanguages":["rust"],"_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"b06fd6b7-a8b1-444d-a152-74d6a4b7283f"},"type":"request","seq":2}
[2022-02-25T10:19:35.878Z 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}}}
[2022-02-25T10:19:35.995Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":2,"event":"initialized"}
[2022-02-25T10:19:35.995Z DEBUG codelldb::debug_session] Debug event: 0000017FBE055130 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:19:35.996Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":3,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:35.996Z DEBUG codelldb::dap_codec] <-- {"type":"request","seq":4,"command":"runInTerminal","arguments":{"args":["c:\\Users\\walle\\.vscode\\extensions\\vadimcn.vscode-lldb-1.6.10\\adapter\\codelldb.exe","terminal-agent","--port=51063"],"cwd":"","kind":"integrated","title":"Debug executable 'tagsparser'"}}
[2022-02-25T10:19:36.006Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"},"lines":[7,12],"breakpoints":[{"line":7},{"line":12}],"sourceModified":false},"type":"request","seq":3}
[2022-02-25T10:19:36.017Z DEBUG codelldb::debug_session] Debug event: 0000017FBD52EAE0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.017Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":7,"message":"Resolved locations: 0","verified":true},{"id":2,"line":12,"message":"Resolved locations: 0","verified":true}]}}
[2022-02-25T10:19:36.018Z DEBUG codelldb::debug_session] Debug event: 0000017FBD526830 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.028Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":4,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":51496}}
[2022-02-25T10:19:36.041Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5}
[2022-02-25T10:19:36.041Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":5,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
[2022-02-25T10:19:36.051Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6}
[2022-02-25T10:19:36.052Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":6,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}}
[2022-02-25T10:19:36.074Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":7}
[2022-02-25T10:19:36.075Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":7,"success":true,"command":"setExceptionBreakpoints"}
[2022-02-25T10:19:36.082Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":8}
[2022-02-25T10:19:36.082Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":8,"success":true,"command":"configurationDone"}
[adapter\src\terminal.rs:104] FreeConsole() = 1
[2022-02-25T10:19:36.095Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":5,"event":"output","body":{"output":"Launching: c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe\n"}}
[adapter\src\terminal.rs:105] AttachConsole(pid) = 1
[2022-02-25T10:19:36.097Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":9}
[adapter\src\terminal.rs:109] FreeConsole() = 1
[2022-02-25T10:19:36.141Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":6,"event":"output","body":{"output":"Launched process 24392\n"}}
[2022-02-25T10:19:36.141Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE51100 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.141Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":2,"success":true,"command":"launch"}
[2022-02-25T10:19:36.141Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE51C00 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.141Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":7,"event":"breakpoint","body":{"breakpoint":{"id":1,"line":7,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2022-02-25T10:19:36.141Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE521C0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":8,"event":"breakpoint","body":{"breakpoint":{"id":2,"line":12,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE52200 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":9,"event":"module","body":{"module":{"addressRange":"7FF6B5640000","id":"7FF6B5640000","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":10,"event":"module","body":{"module":{"addressRange":"7FFDB5630000","id":"7FFDB5630000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE52100 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[{"id":7532,"name":"1: tid=7532"},{"id":8612,"name":"2: tid=8612"},{"id":54964,"name":"3: tid=54964"}]}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE522C0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":11,"event":"module","body":{"module":{"addressRange":"7FFDB5630000","id":"7FFDB5630000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EBC0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":12,"event":"module","body":{"module":{"addressRange":"7FFDB4150000","id":"7FFDB4150000","name":"kernel32.dll","path":"C:\\Windows\\System32\\kernel32.dll","symbolFilePath":"C:\\Windows\\System32\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":13,"event":"module","body":{"module":{"addressRange":"7FFDB4150000","id":"7FFDB4150000","name":"kernel32.dll","path":"C:\\Windows\\System32\\kernel32.dll","symbolFilePath":"C:\\Windows\\System32\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE52240 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EC40 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":14,"event":"module","body":{"module":{"addressRange":"7FFDB3060000","id":"7FFDB3060000","name":"KernelBase.dll","path":"C:\\Windows\\System32\\KernelBase.dll","symbolFilePath":"C:\\Windows\\System32\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":15,"event":"module","body":{"module":{"addressRange":"7FFDB3060000","id":"7FFDB3060000","name":"KernelBase.dll","path":"C:\\Windows\\System32\\KernelBase.dll","symbolFilePath":"C:\\Windows\\System32\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4E840 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {vcruntime140.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":16,"event":"module","body":{"module":{"addressRange":"7FFD95F20000","id":"7FFD95F20000","name":"vcruntime140.dll","path":"C:\\Windows\\System32\\vcruntime140.dll","symbolFilePath":"C:\\Windows\\System32\\vcruntime140.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EC80 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {vcruntime140.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":17,"event":"module","body":{"module":{"addressRange":"7FFD95F20000","id":"7FFD95F20000","name":"vcruntime140.dll","path":"C:\\Windows\\System32\\vcruntime140.dll","symbolFilePath":"C:\\Windows\\System32\\vcruntime140.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4E740 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":18,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4E900 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":19,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4ED40 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":20,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4F300 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":21,"event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\System32\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4F180 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EDC0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EE00 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000004 (modules-unloaded), data = {ucrtbase.dll}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":22,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBBE4EE40 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {tagsparser.exe}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":23,"event":"module","body":{"module":{"addressRange":"7FF6B5640000","id":"7FF6B5640000","name":"tagsparser.exe","path":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolFilePath":"c:\\git\\walle\\lldb-reprod\\target\\debug\\tagsparser.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:36.142Z DEBUG codelldb::debug_session] Debug event: 0000017FBC811500 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = running}
[2022-02-25T10:19:36.142Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":24,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:19:36.145Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 2.1: where = tagsparser.exe`static void tagsparser::main() + 48 at main.rs:12, address = 0x00007ff6b5641610, resolved, hit count = 1 

[2022-02-25T10:19:36.145Z DEBUG codelldb::debug_session] Debug event: 0000017FBC810F90 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = stopped}
[2022-02-25T10:19:36.145Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":25,"event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":7532}}
[2022-02-25T10:19:36.175Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10}
[2022-02-25T10:19:36.184Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":7532,"name":"1: tid=7532"},{"id":8612,"name":"2: tid=8612"},{"id":54964,"name":"3: tid=54964"}]}}
[2022-02-25T10:19:36.236Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7532,"startFrame":0,"levels":1},"type":"request","seq":11}
[2022-02-25T10:19:36.240Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":11,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"line":12,"name":"static void tagsparser::main()","source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"}}],"totalFrames":10}}
[2022-02-25T10:19:36.661Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":12}
[2022-02-25T10:19:36.661Z DEBUG codelldb::dap_codec] <-- {"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-02-25T10:19:36.672Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7532,"startFrame":1,"levels":19},"type":"request","seq":13}
[2022-02-25T10:19:36.672Z DEBUG codelldb::disassembly] tagsparser.exe`void core::ops::function::FnOnce::call_once >( *) + 11 at function.rs:227
[2022-02-25T10:19:36.673Z DEBUG codelldb::disassembly] tagsparser.exe`void std::sys_common::backtrace::__rust_begin_short_backtrace >( *) + 27 at backtrace.rs:126
[2022-02-25T10:19:36.673Z DEBUG codelldb::disassembly] tagsparser.exe`int std::rt::lang_start::closure$0 >(struct std::rt::lang_start::closure$0 *) + 17 at rt.rs:145
[2022-02-25T10:19:36.679Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":14}
[2022-02-25T10:19:36.704Z DEBUG codelldb::disassembly] tagsparser.exe`void std::rt::lang_start_internal() + 43 at rt.rs:128
[2022-02-25T10:19:36.705Z DEBUG codelldb::disassembly] tagsparser.exe`__int64 std::rt::lang_start >( *, __int64, unsigned char * *) + 47 at rt.rs:144
[2022-02-25T10:19:36.705Z DEBUG codelldb::disassembly] tagsparser.exe`main + 22
[2022-02-25T10:19:36.706Z DEBUG codelldb::disassembly] tagsparser.exe`static int __scrt_common_main_seh() + 268 at exe_common.inl:288
[2022-02-25T10:19:36.707Z DEBUG codelldb::disassembly] kernel32.dll`BaseThreadInitThunk + 20
[2022-02-25T10:19:36.709Z DEBUG codelldb::disassembly] ntdll.dll`RtlUserThreadStart + 33
[2022-02-25T10:19:36.709Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1006,"line":6,"name":"void core::ops::function::FnOnce::call_once >( *)","presentationHint":"subtle","source":{"name":"@core::ops::function::FnOnce::call_once::h3b08ccbaef843a69","sourceReference":1000}},{"column":0,"id":1007,"line":9,"name":"void std::sys_common::backtrace::__rust_begin_short_backtrace >( *)","presentationHint":"subtle","source":{"name":"@std::sys_common::backtrace::__rust_begin_short_backtrace::h1f05df1697e570d7","sourceReference":1001}},{"column":0,"id":1008,"line":7,"name":"int std::rt::lang_start::closure$0 >(struct std::rt::lang_start::closure$0 *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hece0d6dfb930bb61","sourceReference":1002}},{"column":0,"id":1009,"line":14,"name":"void std::rt::lang_start_internal()","presentationHint":"subtle","source":{"name":"@std::rt::lang_start_internal::h4553fde2b3201709","sourceReference":1003}},{"column":0,"id":1010,"line":13,"name":"__int64 std::rt::lang_start >( *, __int64, unsigned char * *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::h79178382cf34c34d","sourceReference":1004}},{"column":0,"id":1011,"line":8,"name":"main","presentationHint":"subtle","source":{"name":"@main","sourceReference":1005}},{"column":0,"id":1012,"line":3,"name":"static int __scrt_common_main_seh()","presentationHint":"subtle","source":{"name":"@7ff6b565add4..7ff6b565ae3b","sourceReference":1006}},{"column":0,"id":1013,"line":9,"name":"BaseThreadInitThunk","presentationHint":"subtle","source":{"name":"@BaseThreadInitThunk","sourceReference":1007}},{"column":0,"id":1014,"line":12,"name":"RtlUserThreadStart","presentationHint":"subtle","source":{"name":"@RtlUserThreadStart","sourceReference":1008}}],"totalFrames":10}}
[2022-02-25T10:19:36.728Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":14,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"f","memoryReference":"0x56FABDFA20","name":"f","type":"std::path::PathBuf","value":"\"lol\"","variablesReference":1015}]}}
[2022-02-25T10:19:37.658Z DEBUG codelldb::dap_codec] --> {"command":"continue","arguments":{"threadId":7532},"type":"request","seq":15}
[2022-02-25T10:19:37.659Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":15,"success":true,"command":"continue","body":{"allThreadsContinued":true}}
[2022-02-25T10:19:37.659Z DEBUG codelldb::debug_session] Debug event: 0000017FBD809B30 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = running}
[2022-02-25T10:19:37.659Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":26,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:19:37.661Z DEBUG codelldb::debug_session::breakpoints] Callback for breakpoint location 1.1: where = tagsparser.exe`static void tagsparser::takes_path(struct std::path::PathBuf *) + 30 at main.rs:7, address = 0x00007ff6b56415be, resolved, hit count = 1 

[2022-02-25T10:19:37.661Z DEBUG codelldb::debug_session] Debug event: 0000017FBBF34970 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = stopped}
[2022-02-25T10:19:37.661Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":27,"event":"stopped","body":{"allThreadsStopped":true,"reason":"breakpoint","threadId":7532}}
[2022-02-25T10:19:37.672Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":16}
[2022-02-25T10:19:37.672Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":16,"success":true,"command":"threads","body":{"threads":[{"id":7532,"name":"1: tid=7532"},{"id":8612,"name":"2: tid=8612"},{"id":54964,"name":"3: tid=54964"}]}}
[2022-02-25T10:19:37.678Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7532,"startFrame":0,"levels":1},"type":"request","seq":17}
[2022-02-25T10:19:37.679Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":17,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"line":7,"name":"static void tagsparser::takes_path(struct std::path::PathBuf *)","source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"}}],"totalFrames":11}}
[2022-02-25T10:19:38.112Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":18}
[2022-02-25T10:19:38.112Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":18,"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-02-25T10:19:38.129Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7532,"startFrame":1,"levels":19},"type":"request","seq":19}
[2022-02-25T10:19:38.130Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":19,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1006,"line":12,"name":"static void tagsparser::main()","source":{"name":"main.rs","path":"c:\\git\\walle\\lldb-reprod\\src\\main.rs"}},{"column":0,"id":1007,"line":6,"name":"void core::ops::function::FnOnce::call_once >( *)","presentationHint":"subtle","source":{"name":"@core::ops::function::FnOnce::call_once::h3b08ccbaef843a69","sourceReference":1000}},{"column":0,"id":1008,"line":9,"name":"void std::sys_common::backtrace::__rust_begin_short_backtrace >( *)","presentationHint":"subtle","source":{"name":"@std::sys_common::backtrace::__rust_begin_short_backtrace::h1f05df1697e570d7","sourceReference":1001}},{"column":0,"id":1009,"line":7,"name":"int std::rt::lang_start::closure$0 >(struct std::rt::lang_start::closure$0 *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hece0d6dfb930bb61","sourceReference":1002}},{"column":0,"id":1010,"line":14,"name":"void std::rt::lang_start_internal()","presentationHint":"subtle","source":{"name":"@std::rt::lang_start_internal::h4553fde2b3201709","sourceReference":1003}},{"column":0,"id":1011,"line":13,"name":"__int64 std::rt::lang_start >( *, __int64, unsigned char * *)","presentationHint":"subtle","source":{"name":"@std::rt::lang_start::h79178382cf34c34d","sourceReference":1004}},{"column":0,"id":1012,"line":8,"name":"main","presentationHint":"subtle","source":{"name":"@main","sourceReference":1005}},{"column":0,"id":1013,"line":3,"name":"static int __scrt_common_main_seh()","presentationHint":"subtle","source":{"name":"@7ff6b565add4..7ff6b565ae3b","sourceReference":1006}},{"column":0,"id":1014,"line":9,"name":"BaseThreadInitThunk","presentationHint":"subtle","source":{"name":"@BaseThreadInitThunk","sourceReference":1007}},{"column":0,"id":1016,"line":12,"name":"RtlUserThreadStart","presentationHint":"subtle","source":{"name":"@RtlUserThreadStart","sourceReference":1008}}],"totalFrames":11}}
[2022-02-25T10:19:38.131Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":20}
[2022-02-25T10:19:38.136Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":20,"success":true,"command":"variables","body":{"variables":[{"evaluateName":"","memoryReference":"0x56FABDF9D0","name":"","type":"std::path::PathBuf *","value":"\"lol\"","variablesReference":1017},{"evaluateName":"x","memoryReference":"0x56FABDF9D8","name":"x","type":"str","value":"\"hello\"","variablesReference":1018}]}}
[2022-02-25T10:19:38.709Z DEBUG codelldb::dap_codec] --> {"command":"continue","arguments":{"threadId":7532},"type":"request","seq":21}
[2022-02-25T10:19:38.709Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":21,"success":true,"command":"continue","body":{"allThreadsContinued":true}}
[2022-02-25T10:19:38.709Z DEBUG codelldb::debug_session] Debug event: 0000017FBD8099B0 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = running}
[2022-02-25T10:19:38.709Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":28,"event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-02-25T10:19:38.715Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C3150 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel.appcore.dll}
[2022-02-25T10:19:38.716Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C2B50 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel.appcore.dll}
[2022-02-25T10:19:38.716Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":29,"event":"module","body":{"module":{"addressRange":"7FFDB1530000","id":"7FFDB1530000","name":"kernel.appcore.dll","path":"C:\\Windows\\System32\\kernel.appcore.dll","symbolFilePath":"C:\\Windows\\System32\\kernel.appcore.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.716Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":30,"event":"module","body":{"module":{"addressRange":"7FFDB1530000","id":"7FFDB1530000","name":"kernel.appcore.dll","path":"C:\\Windows\\System32\\kernel.appcore.dll","symbolFilePath":"C:\\Windows\\System32\\kernel.appcore.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.723Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C5090 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {msvcrt.dll}
[2022-02-25T10:19:38.723Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C51D0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {msvcrt.dll}
[2022-02-25T10:19:38.723Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":31,"event":"module","body":{"module":{"addressRange":"7FFDB54A0000","id":"7FFDB54A0000","name":"msvcrt.dll","path":"C:\\Windows\\System32\\msvcrt.dll","symbolFilePath":"C:\\Windows\\System32\\msvcrt.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.723Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":32,"event":"module","body":{"module":{"addressRange":"7FFDB54A0000","id":"7FFDB54A0000","name":"msvcrt.dll","path":"C:\\Windows\\System32\\msvcrt.dll","symbolFilePath":"C:\\Windows\\System32\\msvcrt.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.728Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C51D0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {rpcrt4.dll}
[2022-02-25T10:19:38.728Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C5550 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000002 (modules-loaded), data = {rpcrt4.dll}
[2022-02-25T10:19:38.728Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":33,"event":"module","body":{"module":{"addressRange":"7FFDB4210000","id":"7FFDB4210000","name":"rpcrt4.dll","path":"C:\\Windows\\System32\\rpcrt4.dll","symbolFilePath":"C:\\Windows\\System32\\rpcrt4.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.729Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":34,"event":"module","body":{"module":{"addressRange":"7FFDB4210000","id":"7FFDB4210000","name":"rpcrt4.dll","path":"C:\\Windows\\System32\\rpcrt4.dll","symbolFilePath":"C:\\Windows\\System32\\rpcrt4.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-02-25T10:19:38.729Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C5590 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:38.729Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C4C10 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-02-25T10:19:38.729Z DEBUG codelldb::debug_session] Debug event: 0000017FBD7C51D0 Event: broadcaster = 0000017FBDFE3268 (lldb.target), type = 0x00000004 (modules-unloaded), data = {tagsparser.exe}
[2022-02-25T10:19:38.729Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":35,"event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}}
[2022-02-25T10:19:38.729Z DEBUG codelldb::debug_session] Debug event: 0000017FBD84DF00 Event: broadcaster = 0000017FBC81F9B8 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000017FBC81F990 (pid = 24392), state = exited}
[2022-02-25T10:19:38.729Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":36,"event":"output","body":{"output":"Process exited with code 0.\n"}}
[2022-02-25T10:19:38.729Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":37,"event":"exited","body":{"exitCode":0}}
[2022-02-25T10:19:38.729Z DEBUG codelldb::dap_codec] <-- {"type":"event","seq":38,"event":"terminated","body":{}}
[2022-02-25T10:19:38.733Z DEBUG codelldb::dap_codec] --> {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":22}
[2022-02-25T10:19:38.733Z DEBUG codelldb::dap_codec] <-- {"type":"response","request_seq":22,"success":true,"command":"disconnect"}
[2022-02-25T10:19:39.236Z DEBUG codelldb::dap_session] Client has disconnected
[2022-02-25T10:19:39.236Z DEBUG codelldb::debug_session] End of the requests stream
[2022-02-25T10:19:39.236Z DEBUG codelldb::debug_session] DebugSession::drop()
[2022-02-25T10:19:39.236Z DEBUG codelldb] Session has ended
[2022-02-25T10:19:39.260Z DEBUG codelldb] Exiting
Debug adapter exit code=0, signal=null.
Barugon commented 2 years ago

I'm seeing the same issue

Version: 1.65.1
Commit: 8908a9ca0f221f36507231afb39d2d8d1e182702
Date: 2022-03-08T02:09:03.269Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.16.12-200.fc35.x86_64