Verbose logging: on (Use "lldb.verboseLogging" setting to change) Platform: win32 x64 Initial debug configuration: { type: 'lldb', request: 'launch', name: 'Debug', cwd: '${workspaceFolder}', breakpointMode: 'file', stopOnEntry: true, targetCreateCommands: [ 'script os.chdir("scripts")', 'command script import lldb_temp.py', 'target create c:/Test_code/code/a.exe' ], processCreateCommands: [ 'custom_attach' ], __configurationTarget: 6 } Resolved debug configuration: { type: 'lldb', request: 'launch', name: 'Debug', cwd: '${workspaceFolder}', breakpointMode: 'file', stopOnEntry: true, targetCreateCommands: [ 'script os.chdir("scripts")', 'command script import lldb_temp.py', 'target create c:/Test_code/code/a.exe' ], processCreateCommands: [ 'custom_attach' ], __configurationTarget: 6, relativePathBase: 'c:\\Test_code\\code', _adapterSettings: { displayFormat: 'auto', showDisassembly: 'auto', dereferencePointers: true, suppressMissingSourceFiles: true, evaluationTimeout: 5, consoleMode: 'commands', sourceLanguages: null, scriptConfig: {}, terminalPromptClear: null, evaluateForHovers: true, commandCompletions: true, reproducer: false } } Launching adapter liblldb: c:\Users\bbalagar\.vscode\extensions\vadimcn.vscode-lldb-1.11.3\lldb\bin\liblldb.dll environment: {} settings: { evaluateForHovers: true, commandCompletions: true } [DEBUG codelldb] Connecting to 127.0.0.1:63757 [DEBUG codelldb] New debug session [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","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true},"type":"request","seq":1} [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","supportsCondition":true},{"default":false,"filter":"cpp_catch","label":"C++: on catch","supportsCondition":true}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsClipboardContext":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpointBytes":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsDisassembleRequest":true,"supportsEvaluateForHovers":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsInstructionBreakpoints":true,"supportsLogPoints":true,"supportsModulesRequest":true,"supportsReadMemoryRequest":true,"supportsRestartRequest":true,"supportsSetVariable":true,"supportsStepInTargetsRequest":true,"supportsSteppingGranularity":true,"supportsWriteMemoryRequest":true}} [DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"Debug","cwd":"C:\\Test_code\\code","breakpointMode":"file","stopOnEntry":true,"targetCreateCommands":["script os.chdir(\"scripts\")","command script import lldb_temp.py","target create c:/Test_code/code/a.exe"],"processCreateCommands":["custom_attach"],"__configurationTarget":6,"relativePathBase":"c:\\Test_code\\code","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"scriptConfig":{},"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"4ad009b2-6d2f-44cf-bfb6-50d11e918226"},"type":"request","seq":2} [DEBUG codelldb::dap_codec] <-- {"seq":2,"type":"event","event":"output","body":{"category":"console","output":"Console is in 'commands' mode, prefix expressions with '?'.\n"}} INFO(Python) 11:02:54 lang_support: languages: set() [DEBUG codelldb::dap_codec] <-- {"seq":3,"type":"event","event":"output","body":{"category":"console","output":"Executing script: targetCreateCommands\n"}} [DEBUG codelldb::debug_session] script os.chdir("scripts") -> SuccessFinishNoResult, Error: Success [DEBUG codelldb::debug_session] command script import lldb_temp.py -> SuccessFinishNoResult, Error: Success [DEBUG codelldb::debug_session] target create c:/Test_code/code/a.exe -> SuccessFinishNoResult, Error: Success Output Message: Current executable set to 'c:\Test_code\code\a.exe' (x86_64). [DEBUG codelldb::dap_codec] <-- {"seq":4,"type":"event","event":"output","body":{"category":"console","output":"Current executable set to 'c:\\Test_code\\code\\a.exe' (x86_64).\n\n"}} [DEBUG codelldb::dap_codec] <-- {"seq":5,"type":"event","event":"output","body":{"category":"console","output":"Current executable set to 'c:\\Test_code\\code\\a.exe' (x86_64).\n"}} [DEBUG codelldb::dap_codec] <-- {"seq":6,"type":"event","event":"initialized"} [DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"a.c","path":"c:\\Test_code\\code\\a.c"},"lines":[],"breakpoints":[],"sourceModified":false},"type":"request","seq":3} [DEBUG codelldb::dap_codec] <-- {"seq":7,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[]}} [DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4} [DEBUG codelldb::dap_codec] <-- {"seq":8,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}} [DEBUG codelldb::dap_codec] --> {"command":"setInstructionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5} [DEBUG codelldb::dap_codec] <-- {"seq":9,"type":"response","request_seq":5,"success":true,"command":"setInstructionBreakpoints","body":{"breakpoints":[]}} [DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[]},"type":"request","seq":6} [DEBUG codelldb::dap_codec] <-- {"seq":10,"type":"response","request_seq":6,"success":true,"command":"setExceptionBreakpoints"} [DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7} [DEBUG codelldb::dap_codec] <-- {"seq":11,"type":"response","request_seq":7,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}} [DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":8} [DEBUG codelldb::dap_codec] <-- {"seq":12,"type":"request","command":"runInTerminal","arguments":{"args":["c:\\Users\\bbalagar\\.vscode\\extensions\\vadimcn.vscode-lldb-1.11.3\\adapter\\codelldb.exe","terminal-agent","--connect=63759"],"cwd":"","kind":"integrated","title":"Debug"}} [DEBUG codelldb::dap_codec] --> {"type":"response","seq":9,"command":"runInTerminal","request_seq":12,"success":true,"body":{"shellProcessId":20844}} [DEBUG codelldb::dap_codec] <-- {"seq":13,"type":"event","event":"output","body":{"category":"console","output":"Launching: c:\\Test_code\\code\\a.exe\n"}} [DEBUG codelldb::dap_codec] <-- {"seq":14,"type":"event","event":"output","body":{"category":"console","output":"Executing script: processCreateCommands\n"}} [DEBUG codelldb::dap_codec] <-- {"seq":15,"type":"event","event":"output","body":{"category":"console","output":"Process 7576 stopped\n"}} [DEBUG codelldb::debug_session] custom_attach -> SuccessFinishNoResult, Error: Success [DEBUG codelldb::dap_codec] <-- {"seq":16,"type":"event","event":"output","body":{"category":"console","output":"Inside attach class-------\r\nConnected to gdbserver\r\n"}} [DEBUG codelldb::debug_session::launch] Process state: Stopped [DEBUG codelldb::dap_codec] <-- {"seq":17,"type":"response","request_seq":2,"success":true,"command":"launch"} [DEBUG codelldb::dap_codec] <-- {"seq":18,"type":"response","request_seq":8,"success":true,"command":"configurationDone"} [DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":10} [DEBUG codelldb::dap_codec] <-- {"seq":19,"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":7576,"name":"1: tid=7576"},{"id":740,"name":"2: tid=740"}]}} [DEBUG codelldb::dap_codec] --> {"command":"pause","arguments":{"threadId":7576},"type":"request","seq":11} [DEBUG codelldb::dap_codec] <-- {"seq":20,"type":"event","event":"stopped","body":{"allThreadsStopped":true,"reason":"unknown","threadId":7576}} [DEBUG codelldb::dap_codec] <-- {"seq":21,"type":"response","request_seq":11,"success":true,"command":"pause"} [DEBUG codelldb::dap_codec] --> {"command":"threads","type":"request","seq":12} [DEBUG codelldb::dap_codec] <-- {"seq":22,"type":"response","request_seq":12,"success":true,"command":"threads","body":{"threads":[{"id":7576,"name":"1: tid=7576"},{"id":740,"name":"2: tid=740"}]}} [DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7576,"startFrame":0,"levels":1},"type":"request","seq":13} [DEBUG codelldb::disassembly] 0x7fffcee007a1 [DEBUG codelldb::dap_codec] <-- {"seq":23,"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[{"column":0,"id":1001,"instructionPointerReference":"0x7FFFCEE007A1","line":3,"name":"7FFFCEE007A1","source":{"name":"@7fffcee007a1..7fffcee0081b","sourceReference":1000}}]}} [DEBUG codelldb::dap_codec] --> {"command":"source","arguments":{"sourceReference":1000,"source":{"name":"@7fffcee007a1..7fffcee0081b","sourceReference":1000}},"type":"request","seq":14} [DEBUG codelldb::dap_codec] <-- {"seq":24,"type":"response","request_seq":14,"success":true,"command":"source","body":{"content":"; Symbol: no symbol info\n; Source: unknown\n7FFFCEE007A1: EB 00 jmp 0x7fffcee007a3\n7FFFCEE007A3: 48 83 C4 38 addq $0x38, %rsp\n7FFFCEE007A7: C3 retq \n7FFFCEE007A8: CC int3 \n7FFFCEE007A9: CC int3 \n7FFFCEE007AA: CC int3 \n7FFFCEE007AB: CC int3 \n7FFFCEE007AC: CC int3 \n7FFFCEE007AD: CC int3 \n7FFFCEE007AE: CC int3 \n7FFFCEE007AF: CC int3 \n7FFFCEE007B0: 48 89 5C 24 10 movq %rbx, 0x10(%rsp)\n7FFFCEE007B5: 48 89 74 24 18 movq %rsi, 0x18(%rsp)\n7FFFCEE007BA: 55 pushq %rbp\n7FFFCEE007BB: 57 pushq %rdi\n7FFFCEE007BC: 41 56 pushq %r14\n7FFFCEE007BE: 48 8D AC 24 00 FF FF FF leaq -0x100(%rsp), %rbp\n7FFFCEE007C6: 48 81 EC 00 02 00 00 subq $0x200, %rsp ; imm = 0x200 \n7FFFCEE007CD: 48 8B 05 3C 3D 0B 00 movq 0xb3d3c(%rip), %rax\n7FFFCEE007D4: 48 33 C4 xorq %rsp, %rax\n7FFFCEE007D7: 48 89 85 F0 00 00 00 movq %rax, 0xf0(%rbp)\n7FFFCEE007DE: 4C 8B 05 23 0A 0B 00 movq 0xb0a23(%rip), %r8\n7FFFCEE007E5: 48 8D 05 DC 25 05 00 leaq 0x525dc(%rip), %rax\n7FFFCEE007EC: 33 FF xorl %edi, %edi\n7FFFCEE007EE: 48 89 44 24 50 movq %rax, 0x50(%rsp)\n7FFFCEE007F3: C7 44 24 48 16 00 18 00 movl $0x180016, 0x48(%rsp) ; imm = 0x180016 \n7FFFCEE007FB: 48 8D 44 24 70 leaq 0x70(%rsp), %rax\n7FFFCEE00800: 48 89 44 24 68 movq %rax, 0x68(%rsp)\n7FFFCEE00805: 48 8B F1 movq %rcx, %rsi\n7FFFCEE00808: C7 44 24 60 00 00 00 01 movl $0x1000000, 0x60(%rsp) ; imm = 0x1000000 \n7FFFCEE00810: 41 BE 00 01 00 00 movl $0x100, %r14d ; imm = 0x100 \n7FFFCEE00816: 66 89 7C 24 70 movw %di, 0x70(%rsp)\n7FFFCEE0081B: 4D 85 C0 testq %r8, %r8\n","mimeType":"text/x-lldb.disassembly"}} [DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":7576,"startFrame":1,"levels":19},"type":"request","seq":15} [DEBUG codelldb::dap_codec] <-- {"seq":25,"type":"response","request_seq":15,"success":true,"command":"stackTrace","body":{"stackFrames":[]}} [DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":16} [DEBUG codelldb::dap_codec] <-- {"seq":26,"type":"response","request_seq":16,"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}]}} [DEBUG codelldb::dap_codec] --> {"command":"variables","arguments":{"variablesReference":1002},"type":"request","seq":17} [DEBUG codelldb::dap_codec] <-- {"seq":27,"type":"response","request_seq":17,"success":true,"command":"variables","body":{"variables":[]}}