OS: Win10 Build 19041
VSCode version: 1.73.1
CodeLLDB version: 1.8.1
Compiler: llvm-mingw-20220906-ucrt-i686
Debuggee: llvm-mingw 32bit app
Use llvm-mingw create 32bit app, when debug it, occur "Exception 0x4000001f encountered at address 0x77211ee2" in the file "@LdrInitShimEngineDynamic" with Assembly language.
Verbose log
Initial debug configuration: {
name: '(lldb) Debug-32',
type: 'lldb',
request: 'launch',
program: '${workspaceFolder}/build32/main32.exe',
args: [],
cwd: '${workspaceFolder}',
__configurationTarget: 6
}
Resolved debug configuration: {
name: '(lldb) Debug-32',
type: 'lldb',
request: 'launch',
program: '${workspaceFolder}/build32/main32.exe',
args: [],
cwd: '${workspaceFolder}',
__configurationTarget: 6,
relativePathBase: 'c:\\Users\\name\\Desktop\\af',
_adapterSettings: {
displayFormat: 'auto',
showDisassembly: 'auto',
dereferencePointers: true,
suppressMissingSourceFiles: true,
evaluationTimeout: 5,
consoleMode: 'commands',
sourceLanguages: null,
terminalPromptClear: null,
evaluateForHovers: true,
commandCompletions: true,
reproducer: false
}
}
liblldb: c:\Users\name\.vscode\extensions\vadimcn.vscode-lldb-1.8.1\lldb\bin\liblldb.dll
environment: {}
params: { evaluateForHovers: true, commandCompletions: true }
[2022-12-08T02:55:08.241Z DEBUG codelldb] New debug session
[2022-12-08T02:55:08.473Z 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":"zh-cn","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true},"type":"request","seq":1}
[2022-12-08T02:55:08.473Z DEBUG codelldb::dap_codec] <-- {"seq":1,"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"exceptionBreakpointFilters":[{"default":true,"filter":"cpp_throw","label":"C++: on throw"},{"default":false,"filter":"cpp_catch","label":"C++: on catch"}],"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-12-08T02:55:08.491Z DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"name":"(lldb) Debug-32","type":"lldb","request":"launch","program":"C:\\Users\\name\\Desktop\\af/build32/main32.exe","args":[],"cwd":"C:\\Users\\name\\Desktop\\af","__configurationTarget":6,"relativePathBase":"c:\\Users\\name\\Desktop\\af","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"997a9999-eb67-4f9a-ba81-f9de6ec0e466"},"type":"request","seq":2}
[2022-12-08T02:55:08.492Z DEBUG codelldb::dap_codec] <-- {"seq":2,"type":"event","event":"output","body":{"output":"Console is in 'commands' mode, prefix expressions with '?'.\n"}}
INFO(Python) 10:55:08 formatters: Initializing
INFO(Python) 10:55:08 formatters.rust: Initializing
[2022-12-08T02:55:08.511Z DEBUG codelldb::dap_codec] <-- {"seq":3,"type":"event","event":"initialized"}
[2022-12-08T02:55:08.511Z DEBUG codelldb::debug_session] Debug event: 0000025DF9984150 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {main32.exe}
[2022-12-08T02:55:08.511Z DEBUG codelldb::dap_codec] <-- {"seq":4,"type":"event","event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"main32.exe","path":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.511Z DEBUG codelldb::dap_codec] <-- {"seq":5,"type":"request","command":"runInTerminal","arguments":{"args":["c:\\Users\\name\\.vscode\\extensions\\vadimcn.vscode-lldb-1.8.1\\adapter\\codelldb.exe","terminal-agent","--connect=62771"],"cwd":"","kind":"integrated","title":"(lldb) Debug-32"}}
[2022-12-08T02:55:08.520Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"main.cpp","path":"c:\\Users\\name\\Desktop\\af\\main.cpp"},"lines":[10],"breakpoints":[{"line":10}],"sourceModified":false},"type":"request","seq":3}
[2022-12-08T02:55:08.520Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
[2022-12-08T02:55:08.520Z DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5}
[2022-12-08T02:55:08.520Z DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":["cpp_throw"]},"type":"request","seq":6}
[2022-12-08T02:55:08.521Z DEBUG codelldb::dap_codec] <-- {"seq":6,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":10,"message":"Resolved locations: 0","verified":true}]}}
[2022-12-08T02:55:08.521Z DEBUG codelldb::debug_session] Debug event: 0000025DFA1F1300 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 1 type: breakpoint added}
[2022-12-08T02:55:08.521Z DEBUG codelldb::debug_session] Debug event: 0000025DF99830D0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 2 type: breakpoint added}
[2022-12-08T02:55:08.522Z DEBUG codelldb::dap_codec] <-- {"seq":7,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
[2022-12-08T02:55:08.522Z DEBUG codelldb::dap_codec] <-- {"seq":8,"type":"response","request_seq":5,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}}
[2022-12-08T02:55:08.522Z DEBUG codelldb::dap_codec] <-- {"seq":9,"type":"response","request_seq":6,"success":true,"command":"setExceptionBreakpoints"}
[2022-12-08T02:55:08.555Z DEBUG codelldb::dap_codec] --> {"type":"response","seq":7,"command":"runInTerminal","request_seq":5,"success":true,"body":{"shellProcessId":4516}}
[2022-12-08T02:55:08.573Z DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":8}
[2022-12-08T02:55:08.573Z DEBUG codelldb::dap_codec] <-- {"seq":10,"type":"response","request_seq":8,"success":true,"command":"configurationDone"}
[2022-12-08T02:55:08.594Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":9}
[2022-12-08T02:55:08.594Z DEBUG codelldb::dap_codec] <-- {"seq":11,"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[]}}
[adapter\src\terminal.rs:101] winapi::um::wincon::FreeConsole() = 1
[2022-12-08T02:55:08.610Z DEBUG codelldb::dap_codec] <-- {"seq":12,"type":"event","event":"output","body":{"output":"Launching: C:\\Users\\name\\Desktop\\af\\build32\\main32.exe\n"}}
[adapter\src\terminal.rs:102] winapi::um::wincon::AttachConsole(pid) = 1
[adapter\src\terminal.rs:109] winapi::um::wincon::FreeConsole() = 1
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":13,"type":"event","event":"output","body":{"output":"Launched process 13016\n"}}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27C980 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 1 type: locations resolved}
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":14,"type":"response","request_seq":2,"success":true,"command":"launch"}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27E1C0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {main32.exe}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27AC00 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":15,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":1,"line":10,"message":"Resolved locations: 1","verified":true},"reason":"changed"}}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27AA80 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":16,"type":"event","event":"module","body":{"module":{"addressRange":"3E0000","id":"3E0000","name":"main32.exe","path":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27B2C0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":17,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC44C70000","id":"7FFC44C70000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27B3C0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ntdll.dll}
[2022-12-08T02:55:08.653Z DEBUG codelldb::dap_codec] <-- {"seq":18,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC44C70000","id":"7FFC44C70000","name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","symbolFilePath":"C:\\Windows\\System32\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.653Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27A900 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64.dll}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":19,"type":"event","event":"module","body":{"module":{"addressRange":"77160000","id":"77160000","name":"ntdll.dll","path":"C:\\Windows\\SysWOW64\\ntdll.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27AB00 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64.dll}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":20,"type":"event","event":"module","body":{"module":{"addressRange":"77160000","id":"77160000","name":"ntdll.dll","path":"C:\\Windows\\SysWOW64\\ntdll.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\ntdll.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27ABC0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64win.dll}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":21,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC44B90000","id":"7FFC44B90000","name":"wow64.dll","path":"C:\\Windows\\System32\\wow64.dll","symbolFilePath":"C:\\Windows\\System32\\wow64.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::debug_session] Debug event: 0000025DFA27AEC0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64win.dll}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":22,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC44B90000","id":"7FFC44B90000","name":"wow64.dll","path":"C:\\Windows\\System32\\wow64.dll","symbolFilePath":"C:\\Windows\\System32\\wow64.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::debug_session] Debug event: 0000025DF87FC0E0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {main32.exe}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":23,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC43810000","id":"7FFC43810000","name":"wow64win.dll","path":"C:\\Windows\\System32\\wow64win.dll","symbolFilePath":"C:\\Windows\\System32\\wow64win.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::debug_session] Debug event: 0000025DF8B869E0 Event: broadcaster = 0000025DFA26CD78 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000025DFA26CD50 (pid = 13016), state = running}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":24,"type":"event","event":"module","body":{"module":{"addressRange":"7FFC43810000","id":"7FFC43810000","name":"wow64win.dll","path":"C:\\Windows\\System32\\wow64win.dll","symbolFilePath":"C:\\Windows\\System32\\wow64win.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":25,"type":"event","event":"module","body":{"module":{"addressRange":"3E0000","id":"3E0000","name":"main32.exe","path":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\main32.exe","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.654Z DEBUG codelldb::dap_codec] <-- {"seq":26,"type":"event","event":"continued","body":{"allThreadsContinued":true,"threadId":0}}
[2022-12-08T02:55:08.659Z DEBUG codelldb::debug_session] Debug event: 0000025DF87E96B0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64cpu.dll}
[2022-12-08T02:55:08.659Z DEBUG codelldb::debug_session] Debug event: 0000025DF87E96F0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {wow64cpu.dll}
[2022-12-08T02:55:08.659Z DEBUG codelldb::dap_codec] <-- {"seq":27,"type":"event","event":"module","body":{"module":{"addressRange":"77150000","id":"77150000","name":"wow64cpu.dll","path":"C:\\Windows\\System32\\wow64cpu.dll","symbolFilePath":"C:\\Windows\\System32\\wow64cpu.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.659Z DEBUG codelldb::dap_codec] <-- {"seq":28,"type":"event","event":"module","body":{"module":{"addressRange":"77150000","id":"77150000","name":"wow64cpu.dll","path":"C:\\Windows\\System32\\wow64cpu.dll","symbolFilePath":"C:\\Windows\\System32\\wow64cpu.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.670Z DEBUG codelldb::debug_session] Debug event: 0000025DFA2D7150 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-12-08T02:55:08.670Z DEBUG codelldb::debug_session] Debug event: 0000025DFA2D7210 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {kernel32.dll}
[2022-12-08T02:55:08.670Z DEBUG codelldb::dap_codec] <-- {"seq":29,"type":"event","event":"module","body":{"module":{"addressRange":"75770000","id":"75770000","name":"kernel32.dll","path":"C:\\Windows\\SysWOW64\\kernel32.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.670Z DEBUG codelldb::dap_codec] <-- {"seq":30,"type":"event","event":"module","body":{"module":{"addressRange":"75770000","id":"75770000","name":"kernel32.dll","path":"C:\\Windows\\SysWOW64\\kernel32.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\kernel32.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.677Z DEBUG codelldb::debug_session] Debug event: 0000025DFA2D6F50 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-12-08T02:55:08.677Z DEBUG codelldb::debug_session] Debug event: 0000025DFA2D70D0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {KernelBase.dll}
[2022-12-08T02:55:08.677Z DEBUG codelldb::dap_codec] <-- {"seq":31,"type":"event","event":"module","body":{"module":{"addressRange":"768A0000","id":"768A0000","name":"KernelBase.dll","path":"C:\\Windows\\SysWOW64\\KernelBase.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.677Z DEBUG codelldb::dap_codec] <-- {"seq":32,"type":"event","event":"module","body":{"module":{"addressRange":"768A0000","id":"768A0000","name":"KernelBase.dll","path":"C:\\Windows\\SysWOW64\\KernelBase.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\KernelBase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.687Z DEBUG codelldb::debug_session] Debug event: 0000025DFA2D7210 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-12-08T02:55:08.687Z DEBUG codelldb::debug_session] Debug event: 0000025DF87F0B50 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {ucrtbase.dll}
[2022-12-08T02:55:08.687Z DEBUG codelldb::dap_codec] <-- {"seq":33,"type":"event","event":"module","body":{"module":{"addressRange":"75B90000","id":"75B90000","name":"ucrtbase.dll","path":"C:\\Windows\\SysWOW64\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.687Z DEBUG codelldb::dap_codec] <-- {"seq":34,"type":"event","event":"module","body":{"module":{"addressRange":"75B90000","id":"75B90000","name":"ucrtbase.dll","path":"C:\\Windows\\SysWOW64\\ucrtbase.dll","symbolFilePath":"C:\\Windows\\SysWOW64\\ucrtbase.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.694Z DEBUG codelldb::debug_session] Debug event: 0000025DF87E8050 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {libunwind.dll}
[2022-12-08T02:55:08.694Z DEBUG codelldb::debug_session] Debug event: 0000025DF889BAC0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {libunwind.dll}
[2022-12-08T02:55:08.694Z DEBUG codelldb::dap_codec] <-- {"seq":35,"type":"event","event":"module","body":{"module":{"addressRange":"7A9F0000","id":"7A9F0000","name":"libunwind.dll","path":"C:\\Users\\name\\Desktop\\af\\build32\\libunwind.dll","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\libunwind.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.694Z DEBUG codelldb::dap_codec] <-- {"seq":36,"type":"event","event":"module","body":{"module":{"addressRange":"7A9F0000","id":"7A9F0000","name":"libunwind.dll","path":"C:\\Users\\name\\Desktop\\af\\build32\\libunwind.dll","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\libunwind.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.711Z DEBUG codelldb::debug_session] Debug event: 0000025DF889B8C0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 2 type: locations added}
[2022-12-08T02:55:08.711Z DEBUG codelldb::debug_session] Debug event: 0000025DF889BD00 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc++.dll}
[2022-12-08T02:55:08.711Z DEBUG codelldb::debug_session] Debug event: 0000025DF9A96710 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 2 type: locations resolved}
[2022-12-08T02:55:08.711Z DEBUG codelldb::dap_codec] <-- {"seq":37,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":2,"message":"Resolved locations: 2","verified":true},"reason":"changed"}}
[2022-12-08T02:55:08.711Z DEBUG codelldb::debug_session] Debug event: 0000025DF9A96550 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 2 type: locations resolved}
[2022-12-08T02:55:08.711Z DEBUG codelldb::debug_session] Debug event: 0000025DF9A965D0 Event: broadcaster = 0000025DF8B3E4C0 (lldb.target), type = 0x00000002 (modules-loaded), data = {libc++.dll}
[2022-12-08T02:55:08.711Z DEBUG codelldb::dap_codec] <-- {"seq":38,"type":"event","event":"module","body":{"module":{"addressRange":"7AA10000","id":"7AA10000","name":"libc++.dll","path":"C:\\Users\\name\\Desktop\\af\\build32\\libc++.dll","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\libc++.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.711Z DEBUG codelldb::dap_codec] <-- {"seq":39,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":2,"message":"Resolved locations: 2","verified":true},"reason":"changed"}}
[2022-12-08T02:55:08.711Z DEBUG codelldb::dap_codec] <-- {"seq":40,"type":"event","event":"breakpoint","body":{"breakpoint":{"id":2,"message":"Resolved locations: 2","verified":true},"reason":"changed"}}
[2022-12-08T02:55:08.711Z DEBUG codelldb::dap_codec] <-- {"seq":41,"type":"event","event":"module","body":{"module":{"addressRange":"7AA10000","id":"7AA10000","name":"libc++.dll","path":"C:\\Users\\name\\Desktop\\af\\build32\\libc++.dll","symbolFilePath":"C:\\Users\\name\\Desktop\\af\\build32\\libc++.dll","symbolStatus":"Symbols loaded."},"reason":"new"}}
[2022-12-08T02:55:08.718Z DEBUG codelldb::debug_session] Debug event: 0000025DF9AFD260 Event: broadcaster = 0000025DFA26CD78 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0000025DFA26CD50 (pid = 13016), state = stopped}
[2022-12-08T02:55:08.718Z DEBUG codelldb::dap_codec] <-- {"seq":42,"type":"event","event":"output","body":{"category":"stderr","output":"Stop reason: Exception 0x4000001f encountered at address 0x77211ee2\n"}}
[2022-12-08T02:55:08.718Z DEBUG codelldb::dap_codec] <-- {"seq":43,"type":"event","event":"stopped","body":{"allThreadsStopped":true,"reason":"exception","text":"Exception 0x4000001f encountered at address 0x77211ee2","threadId":8872}}
[2022-12-08T02:55:08.741Z DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10}
[2022-12-08T02:55:08.742Z DEBUG codelldb::dap_codec] <-- {"seq":44,"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":8872,"name":"1: tid=8872"},{"id":9868,"name":"4: tid=9868"},{"id":12388,"name":"2: tid=12388"},{"id":13792,"name":"3: tid=13792"}]}}
[2022-12-08T02:55:08.754Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":8872,"startFrame":0,"levels":1},"type":"request","seq":11}
[2022-12-08T02:55:08.755Z DEBUG codelldb::disassembly] ntdll.dll`LdrInitShimEngineDynamic + 1763
[2022-12-08T02:55:08.764Z DEBUG codelldb::dap_codec] <-- {"seq":45,"type":"response","request_seq":11,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"line":596,"name":"LdrInitShimEngineDynamic","presentationHint":"subtle","source":{"name":"@LdrInitShimEngineDynamic","sourceReference":1000}}],"totalFrames":1}}
[2022-12-08T02:55:08.785Z DEBUG codelldb::dap_codec] --> {"command":"source","arguments":{"sourceReference":1000,"source":{"name":"@LdrInitShimEngineDynamic","sourceReference":1000}},"type":"request","seq":12}
[2022-12-08T02:55:08.925Z DEBUG codelldb::dap_codec] <-- {"seq":46,"type":"response","request_seq":12,"success":true,"command":"source","body":{"content":"; id = {0xffffffff}, range = [0x000000004b331800-0x000000004b333fc0), name=\"LdrInitShimEngineDynamic\"\n; Source location: unknown\n77211800:
...
...
%ecx\n77213FAE: 5F popl %edi\n77213FAF: 5E popl %esi\n77213FB0: 5B popl %ebx\n77213FB1: C9 leave \n77213FB2: C3 retl \n77213FB3: CC int3 \n77213FB4: CC int3 \n77213FB5: CC int3 \n77213FB6: CC int3 \n77213FB7: CC int3 \n77213FB8: CC int3 \n77213FB9: CC int3 \n77213FBA: CC int3 \n77213FBB: CC int3 \n77213FBC: CC int3 \n77213FBD: CC int3 \n77213FBE: CC int3 \n77213FBF: CC int3 \n","mimeType":"text/x-lldb.disassembly"}}
[2022-12-08T02:55:09.199Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":8872,"startFrame":1,"levels":19},"type":"request","seq":13}
[2022-12-08T02:55:09.199Z DEBUG codelldb::dap_codec] <-- {"seq":47,"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[],"totalFrames":1}}
[2022-12-08T02:55:09.381Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":14}
[2022-12-08T02:55:09.382Z DEBUG codelldb::dap_codec] <-- {"seq":48,"type":"response","request_seq":14,"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-12-08T02:55:09.401Z DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":15}
[2022-12-08T02:55:09.401Z DEBUG codelldb::dap_codec] <-- {"seq":49,"type":"response","request_seq":15,"success":true,"command":"variables","body":{"variables":[]}}
[2022-12-08T02:55:10.998Z DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"CC","frameId":1001,"context":"hover"},"type":"request","seq":16}
ERROR(Python) 10:55:11 codelldb: Traceback (most recent call last):
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 153, in evaluate
value = evaluate_in_context(pycode, is_simple_expr, context)
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 290, in evaluate_in_context
return eval(code, eval_globals, eval_locals)
File " ", line 1, in
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 279, in
eval_globals['__eval'] = lambda expr: nat_eval(frame, expr)
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 271, in nat_eval
raise Exception(err.GetCString())
Exception: expression failed to parse:
error: :1:1: use of undeclared identifier 'CC'
CC
^
[2022-12-08T02:55:11.045Z ERROR codelldb::debug_session] expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'CC'
CC
^
[2022-12-08T02:55:11.045Z DEBUG codelldb::dap_codec] <-- {"seq":50,"type":"response","request_seq":16,"success":false,"command":"","message":"expression failed to parse:\nerror: <user expression 0>:1:1: use of undeclared identifier 'CC'\nCC\n^\n","show_user":true}
[2022-12-08T02:55:13.670Z DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"CC","frameId":1001,"context":"hover"},"type":"request","seq":17}
ERROR(Python) 10:55:13 codelldb: Traceback (most recent call last):
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 153, in evaluate
value = evaluate_in_context(pycode, is_simple_expr, context)
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 290, in evaluate_in_context
return eval(code, eval_globals, eval_locals)
File " ", line 1, in
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 279, in
eval_globals['__eval'] = lambda expr: nat_eval(frame, expr)
File "c:/Users/name/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/adapter/scripts\codelldb\codelldb.py", line 271, in nat_eval
raise Exception(err.GetCString())
Exception: expression failed to parse:
error: <user expression 1>:1:1: use of undeclared identifier 'CC'
CC
^
[2022-12-08T02:55:13.679Z ERROR codelldb::debug_session] expression failed to parse:
error: <user expression 1>:1:1: use of undeclared identifier 'CC'
CC
^
[2022-12-08T02:55:13.679Z DEBUG codelldb::dap_codec] <-- {"seq":51,"type":"response","request_seq":17,"success":false,"command":"","message":"expression failed to parse:\nerror: <user expression 1>:1:1: use of undeclared identifier 'CC'\nCC\n^\n","show_user":true}
On Windows, i686-windows-gnu use DWARF debug info
platform:windows priority:Low cause:LLDB