codelldb
codelldb copied to clipboard
Debug session stuck with an exception.
OS: windows 10 VSCode version: 1.70.1 CodeLLDB version: 1.7.3 Compiler: clang++ v14.0.4 x86_64-w64-windows-gnu Debuggee: the executable file (exe)
I'm trying to debug the executable file with CodeLLDB on windows, but every time I launch a debug session, it stuck with " Exception 0x80000003 encountered at address 0x7ff8369208b0 ".And in disassemble file " LdrInitShimEngineDynamic", it stops at the instruction " 7FF8369208B1: EB 00 jmp 0x7ff8369208b3 ; <+867> "
Verbose log
Initial debug configuration: { type: 'lldb', request: 'launch', name: 'Launch', program: '${workspaceFolder}/${fileBasenameNoExtension}.exe', args: [], cwd: '${workspaceFolder}', stopOnEntry: true, console: 'integratedTerminal', terminal: 'integrated', internalConsoleOptions: 'neverOpen', __configurationTarget: 6 } Resolved debug configuration: { type: 'lldb', request: 'launch', name: 'Launch', program: '${workspaceFolder}/${fileBasenameNoExtension}.exe', args: [], cwd: '${workspaceFolder}', stopOnEntry: true, console: 'integratedTerminal', terminal: 'integrated', internalConsoleOptions: 'neverOpen', __configurationTarget: 6, relativePathBase: 'c:\\Users\\26435\\Desktop\\VSCode\\makefileTest', _adapterSettings: { displayFormat: 'auto', showDisassembly: 'never', dereferencePointers: true, suppressMissingSourceFiles: true, evaluationTimeout: 5, consoleMode: 'commands', sourceLanguages: null, terminalPromptClear: null, evaluateForHovers: true, commandCompletions: true, reproducer: false } } liblldb: c:\Users\26435\.vscode\extensions\vadimcn.vscode-lldb-1.7.3\lldb\bin\liblldb.dll environment: {} params: { evaluateForHovers: true, commandCompletions: true } [2022-08-12T11:28:08.070Z DEBUG codelldb] New debug session [2022-08-12T11:28:08.225Z 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-08-12T11:28:08.225Z DEBUG codelldb::dap_codec] {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"Launch","program":"C:\\Users\\26435\\Desktop\\VSCode\\makefileTest/test.exe","args":[],"cwd":"C:\\Users\\26435\\Desktop\\VSCode\\makefileTest","stopOnEntry":true,"console":"integratedTerminal","terminal":"integrated","internalConsoleOptions":"neverOpen","__configurationTarget":6,"relativePathBase":"c:\\Users\\26435\\Desktop\\VSCode\\makefileTest","_adapterSettings":{"displayFormat":"auto","showDisassembly":"never","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"796a6364-07c3-4c8c-8bc5-79f4ab346a31"},"type":"request","seq":2} [2022-08-12T11:28:08.236Z DEBUG codelldb::dap_codec] {"command":"setBreakpoints","arguments":{"source":{"name":"main.cpp","path":"c:\\Users\\26435\\Desktop\\VSCode\\makefileTest\\src\\main.cpp"},"lines":[19],"breakpoints":[{"line":19}],"sourceModified":false},"type":"request","seq":3} [2022-08-12T11:28:08.276Z DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"test.cpp","path":"c:\\Users\\26435\\Desktop\\VSCode\\makefileTest\\test.cpp"},"lines":[37,39],"breakpoints":[{"line":37},{"line":39}],"sourceModified":false},"type":"request","seq":4} [2022-08-12T11:28:08.276Z DEBUG codelldb::debug_session] Debug event: 00000256D97A0D80 Event: broadcaster = 00000256D8039E48 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {} [2022-08-12T11:28:08.276Z DEBUG codelldb::dap_codec] {"type":"response","seq":5,"command":"runInTerminal","request_seq":5,"success":true,"body":{"shellProcessId":17868}} [2022-08-12T11:28:08.323Z DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6} [2022-08-12T11:28:08.323Z DEBUG codelldb::dap_codec] {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7} [2022-08-12T11:28:08.328Z DEBUG codelldb::dap_codec] {"command":"setExceptionBreakpoints","arguments":{"filters":["cpp_throw"]},"type":"request","seq":8} [2022-08-12T11:28:08.342Z DEBUG codelldb::dap_codec] {"command":"configurationDone","type":"request","seq":9} [2022-08-12T11:28:08.359Z DEBUG codelldb::dap_codec] {"command":"threads","type":"request","seq":10} [2022-08-12T11:28:08.446Z DEBUG codelldb::dap_codec] {"command":"threads","type":"request","seq":11} [2022-08-12T11:28:08.454Z DEBUG codelldb::dap_codec] {"command":"threads","type":"request","seq":12} [2022-08-12T11:28:08.471Z DEBUG codelldb::dap_codec] {"command":"stackTrace","arguments":{"threadId":14220,"startFrame":0,"levels":1},"type":"request","seq":13} [2022-08-12T11:28:08.479Z DEBUG codelldb::dap_codec] {"command":"cancel","arguments":{"requestId":13},"type":"request","seq":14} [2022-08-12T11:28:08.482Z INFO codelldb::debug_session] Cancellation CancelArguments { progress_id: None, request_id: Some(13) } [2022-08-12T11:28:08.482Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":14220,"startFrame":0,"levels":1},"type":"request","seq":15} [2022-08-12T11:28:08.482Z DEBUG codelldb::dap_codec] {"command":"stackTrace","arguments":{"threadId":14220,"startFrame":1,"levels":19},"type":"request","seq":16} [2022-08-12T11:28:08.912Z DEBUG codelldb::dap_codec]