Can't debug on macOS Catalina (LLDB)
Type: Debugger Input information below
Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.
Describe the bug
- OS and Version: macOS 10.14
- VS Code Version: 1.35.1
- C/C++ Extension Version: 0.24.0
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
To Reproduce
launch.json
"version":"0.2.0",
"configurations":[
{
"type":"cppdbg",
"request":"launch",
"name":"Debug",
"preLaunchTask":"build",
"program":"${workspaceFolder}/debug/OpenGLTut.out",
"args":[
],
"stopAtEntry":true,
"cwd":"${workspaceFolder}",
"environment":[
],
"externalConsole":true,
"MIMode":"lldb",
"internalConsoleOptions":"openOnSessionStart",
"showDisplayString":false,
"logging":{
"trace":true,
"traceResponse":true,
"engineLogging":true,
"programOutput":true,
}
}
]
tasks.json
"version":"2.0.0",
"tasks":[
{
"type":"shell",
"label":"build",
"command":"clang++",
"args":[
"-g",
"-std=c++17",
"-stdlib=libc++",
"-framework",
"Cocoa",
"-framework",
"OpenGL",
"-framework",
"IOKit",
"-framework",
"CoreVideo",
"-L",
"/usr/local/include/",
"-lglew",
"-lglfw3",
"${workspaceFolder}/src/Application.cpp",
"-o",
"${workspaceFolder}/debug/OpenGlTut.out",
"--debug",
],
"group":{
"kind":"build",
"isDefault":true
}
}
]
Steps to reproduce the behaviour: debug using the above tasks and launch files
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
Can you share the output when you enable logging?
Can you share the output when you enable logging?
LLDB Engine Logging
--> E (output): {"event":"output","body":{"category":"console","output":"1: (100) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\n"},"seq":2,"type":"event"}
1: (100) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (107) LaunchOptions ExePath='/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out'\n"},"seq":4,"type":"event"}
1: (107) LaunchOptions ExePath='/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (107) LaunchOptions WorkingDirectory='/Users/jai/Projects/TheCherno/OpenGLTut'\n"},"seq":6,"type":"event"}
1: (107) LaunchOptions WorkingDirectory='/Users/jai/Projects/TheCherno/OpenGLTut'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (108) LaunchOptions ExeArguments=''\n"},"seq":8,"type":"event"}
1: (108) LaunchOptions ExeArguments=''
--> E (output): {"event":"output","body":{"category":"console","output":"1: (108) LaunchOptions MIMode='lldb'\n"},"seq":10,"type":"event"}
1: (108) LaunchOptions MIMode='lldb'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (108) LaunchOptions MIDebuggerPath='/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi'\n"},"seq":12,"type":"event"}
1: (108) LaunchOptions MIDebuggerPath='/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (108) LaunchOptions WaitDynamicLibLoad='false'\n"},"seq":14,"type":"event"}
1: (108) LaunchOptions WaitDynamicLibLoad='false'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions ExternalConsole='true'\n"},"seq":16,"type":"event"}
1: (109) LaunchOptions ExternalConsole='true'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions>\n"},"seq":18,"type":"event"}
1: (109) LaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions</LocalLaunchOptions>\n"},"seq":20,"type":"event"}
1: (109) LaunchOptions</LocalLaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (180) Starting: \"/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi\" --interpreter=mi\n"},"seq":22,"type":"event"}
1: (180) Starting: "/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi" --interpreter=mi
--> E (output): {"event":"output","body":{"category":"console","output":"1: (194) DebuggerPid=4621\n"},"seq":24,"type":"event"}
1: (194) DebuggerPid=4621
--> E (output): {"event":"output","body":{"category":"console","output":"1: (398) ->(gdb)\n"},"seq":26,"type":"event"}
1: (398) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (408) <-1001-gdb-set auto-solib-add on\n"},"seq":28,"type":"event"}
1: (408) <-1001-gdb-set auto-solib-add on
--> E (output): {"event":"output","body":{"category":"console","output":"1: (408) ->1001^done\n"},"seq":30,"type":"event"}
1: (408) ->1001^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (409) ->(gdb)\n"},"seq":32,"type":"event"}
1: (409) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (410) 1001: elapsed time 2\n"},"seq":34,"type":"event"}
1: (410) 1001: elapsed time 2
--> E (output): {"event":"output","body":{"category":"console","output":"1: (410) <-1002-gdb-set solib-search-path \"/Users/jai/Projects/TheCherno/OpenGLTut/debug:\"\n"},"seq":36,"type":"event"}
1: (410) <-1002-gdb-set solib-search-path "/Users/jai/Projects/TheCherno/OpenGLTut/debug:"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (411) ->1002^done\n"},"seq":38,"type":"event"}
1: (411) ->1002^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (411) ->(gdb)\n"},"seq":40,"type":"event"}
1: (411) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (411) 1002: elapsed time 0\n"},"seq":42,"type":"event"}
1: (411) 1002: elapsed time 0
--> E (output): {"event":"output","body":{"category":"console","output":"1: (411) <-1003-environment-cd /Users/jai/Projects/TheCherno/OpenGLTut\n"},"seq":44,"type":"event"}
1: (411) <-1003-environment-cd /Users/jai/Projects/TheCherno/OpenGLTut
--> E (output): {"event":"output","body":{"category":"console","output":"1: (412) ->1003^done,path=\"/Users/jai/Projects/TheCherno/OpenGLTut\"\n"},"seq":46,"type":"event"}
1: (412) ->1003^done,path="/Users/jai/Projects/TheCherno/OpenGLTut"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (412) ->(gdb)\n"},"seq":48,"type":"event"}
1: (412) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (414) 1003: elapsed time 3\n"},"seq":50,"type":"event"}
1: (414) 1003: elapsed time 3
--> E (output): {"event":"output","body":{"category":"console","output":"1: (415) <-1004-gdb-set new-console on\n"},"seq":52,"type":"event"}
1: (415) <-1004-gdb-set new-console on
--> E (output): {"event":"output","body":{"category":"console","output":"1: (415) ->1004^done\n"},"seq":54,"type":"event"}
1: (415) ->1004^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (415) ->(gdb)\n"},"seq":56,"type":"event"}
1: (415) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (415) 1004: elapsed time 0\n"},"seq":58,"type":"event"}
1: (415) 1004: elapsed time 0
--> E (output): {"event":"output","body":{"category":"console","output":"1: (416) <-1005-file-exec-and-symbols /Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out\n"},"seq":60,"type":"event"}
1: (416) <-1005-file-exec-and-symbols /Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) ->1005^done\n"},"seq":62,"type":"event"}
1: (563) ->1005^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) ->(gdb)\n"},"seq":64,"type":"event"}
1: (563) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) 1005: elapsed time 147\n"},"seq":66,"type":"event"}
1: (563) 1005: elapsed time 147
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) ->=library-loaded,id=\"/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out\",target-name=\"/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out\",host-name=\"/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out\",symbols-loaded=\"1\",symbols-path=\"/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out.dSYM/Contents/Resources/DWARF/OpenGlTut.out\",loaded_addr=\"-\",size=\"262144\"\n"},"seq":68,"type":"event"}
1: (563) ->=library-loaded,id="/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out",target-name="/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out",host-name="/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out",symbols-loaded="1",symbols-path="/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out.dSYM/Contents/Resources/DWARF/OpenGlTut.out",loaded_addr="-",size="262144"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (565) <-1006-interpreter-exec console \"platform status\"\n"},"seq":70,"type":"event"}
1: (565) <-1006-interpreter-exec console "platform status"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (565) -> Platform: host\n"},"seq":72,"type":"event"}
1: (565) -> Platform: host
--> E (output): {"event":"output","body":{"category":"console","output":"1: (565) -> Triple: x86_64h-apple-macosx\n"},"seq":74,"type":"event"}
1: (565) -> Triple: x86_64h-apple-macosx
--> E (output): {"event":"output","body":{"category":"console","output":"1: (565) ->OS Version: 10.15 (19A487l)\n"},"seq":76,"type":"event"}
1: (565) ->OS Version: 10.15 (19A487l)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (566) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 13 21:52:56 PDT 2019; root:xnu-6110.0.0.121.5~2/RELEASE_X86_64\n"},"seq":78,"type":"event"}
1: (566) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 13 21:52:56 PDT 2019; root:xnu-6110.0.0.121.5~2/RELEASE_X86_64
--> E (output): {"event":"output","body":{"category":"console","output":"1: (566) -> Hostname: 127.0.0.1\n"},"seq":80,"type":"event"}
1: (566) -> Hostname: 127.0.0.1
--> E (output): {"event":"output","body":{"category":"console","output":"1: (566) ->WorkingDir: /Users/jai/Projects/TheCherno/OpenGLTut\n"},"seq":82,"type":"event"}
1: (566) ->WorkingDir: /Users/jai/Projects/TheCherno/OpenGLTut
--> E (output): {"event":"output","body":{"category":"console","output":"1: (566) ->1006^done\n"},"seq":84,"type":"event"}
1: (566) ->1006^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (567) ->(gdb)\n"},"seq":86,"type":"event"}
1: (567) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (567) 1006: elapsed time 2\n"},"seq":88,"type":"event"}
1: (567) 1006: elapsed time 2
--> E (output): {"event":"output","body":{"category":"console","output":"1: (568) <-1007-break-insert -f on main\n"},"seq":90,"type":"event"}
1: (568) <-1007-break-insert -f on main
--> E (output): {"event":"output","body":{"category":"console","output":"1: (570) ->1007^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x000000010001da40\",func=\"main\",file=\"Application.cpp\",fullname=\"/Users/jai/Projects/TheCherno/OpenGLTut/src/Application.cpp\",line=\"53\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":92,"type":"event"}
1: (570) ->1007^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000010001da40",func="main",file="Application.cpp",fullname="/Users/jai/Projects/TheCherno/OpenGLTut/src/Application.cpp",line="53",pending=["main"],times="0",original-location="main"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (570) ->(gdb)\n"},"seq":94,"type":"event"}
1: (570) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (570) ->=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x000000010001da40\",func=\"main\",file=\"Application.cpp\",fullname=\"/Users/jai/Projects/TheCherno/OpenGLTut/src/Application.cpp\",line=\"53\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":96,"type":"event"}
1: (570) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000010001da40",func="main",file="Application.cpp",fullname="/Users/jai/Projects/TheCherno/OpenGLTut/src/Application.cpp",line="53",pending=["main"],times="0",original-location="main"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (570) ->(gdb)\n"},"seq":98,"type":"event"}
1: (570) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (571) 1007: elapsed time 3\n"},"seq":100,"type":"event"}
1: (571) 1007: elapsed time 3
--> E (output): {"event":"output","body":{"category":"console","output":"1: (576) Send Event AD7EngineCreateEvent\n"},"seq":102,"type":"event"}
1: (576) Send Event AD7EngineCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (578) Send Event AD7ProgramCreateEvent\n"},"seq":104,"type":"event"}
1: (578) Send Event AD7ProgramCreateEvent
--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":520,"VS.Diagnostics.Debugger.Launch.IsCoreDump":false,"VS.Diagnostics.Debugger.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.SourceFileMappings":0}},"seq":106,"type":"event"}
--> R (launch-2): {"request_seq":2,"success":true,"command":"launch","body":{},"seq":108,"type":"response"}
--> E (initialized): {"event":"initialized","body":{},"seq":110,"type":"event"}
<-- C (setFunctionBreakpoints-3): {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":3}
--> R (setFunctionBreakpoints-3): {"request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":113,"type":"response"}
<-- C (setExceptionBreakpoints-4): {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":4}
--> R (setExceptionBreakpoints-4): {"request_seq":4,"success":true,"command":"setExceptionBreakpoints","body":{},"seq":116,"type":"response"}
<-- C (configurationDone-5): {"command":"configurationDone","type":"request","seq":5}
--> R (configurationDone-5): {"request_seq":5,"success":true,"command":"configurationDone","body":{},"seq":119,"type":"response"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (650) Send Event AD7LoadCompleteEvent\n"},"seq":121,"type":"event"}
1: (650) Send Event AD7LoadCompleteEvent
<-- C (threads-6): {"command":"threads","type":"request","seq":6}
--> E (output): {"event":"output","body":{"category":"stdout","output":"Warning: Debuggee TargetArchitecture not detected, assuming x86_64.\n"},"seq":124,"type":"event"}
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
--> E (output): {"event":"output","body":{"category":"console","output":"1: (653) <-1008-exec-run\n"},"seq":127,"type":"event"}
1: (653) <-1008-exec-run
--> R (threads-6): {"request_seq":6,"success":true,"command":"threads","body":{"threads":[]},"seq":126,"type":"response"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1317) ->1008^running\n"},"seq":130,"type":"event"}
1: (1317) ->1008^running
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1318) ->=thread-group-started,id=\"i1\",pid=\"4650\"\n"},"seq":132,"type":"event"}
1: (1318) ->=thread-group-started,id="i1",pid="4650"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1318) ->(gdb)\n"},"seq":134,"type":"event"}
1: (1318) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1318) 1008: elapsed time 664\n"},"seq":136,"type":"event"}
1: (1318) 1008: elapsed time 664
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1318) ->=thread-created,id=\"1\",group-id=\"i1\"\n"},"seq":138,"type":"event"}
1: (1318) ->=thread-created,id="1",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1319) ->=thread-selected,id=\"1\"\n"},"seq":140,"type":"event"}
1: (1319) ->=thread-selected,id="1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1319) ->(gdb)\n"},"seq":142,"type":"event"}
1: (1319) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1319) ->*running,thread-id=\"all\"\n"},"seq":144,"type":"event"}
1: (1319) ->*running,thread-id="all"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1320) ->(gdb)\n"},"seq":146,"type":"event"}
1: (1320) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1321) <-1009-thread-info 1\n"},"seq":148,"type":"event"}
1: (1321) <-1009-thread-info 1
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1322) ->1009^done,threads=[{id=\"1\",target-id=\"Thread 1\",frame={level=\"0\",addr=\"0x0000000100055000\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":150,"type":"event"}
1: (1322) ->1009^done,threads=[{id="1",target-id="Thread 1",frame={level="0",addr="0x0000000100055000",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1322) ->(gdb)\n"},"seq":152,"type":"event"}
1: (1322) ->(gdb)
--> E (output): {"event":"output","body":{"category":"stdout","output":"=thread-selected,id=\"1\"\n"},"seq":154,"type":"event"}
=thread-selected,id="1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1324) 1009: elapsed time 3\n"},"seq":156,"type":"event"}
1: (1324) 1009: elapsed time 3
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1327) Send Event AD7ProcessInfoUpdatedEvent\n"},"seq":158,"type":"event"}
1: (1327) Send Event AD7ProcessInfoUpdatedEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1327) Send Event AD7ThreadCreateEvent\n"},"seq":160,"type":"event"}
1: (1327) Send Event AD7ThreadCreateEvent
--> E (thread): {"event":"thread","body":{"reason":"started","threadId":1},"seq":162,"type":"event"}
<-- C (threads-7): {"command":"threads","type":"request","seq":7}
--> R (threads-7): {"request_seq":7,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"Thread #1"}]},"seq":165,"type":"response"}
<-- C (disconnect-8): {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":8}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4098) <-1010-exec-interrupt\n"},"seq":168,"type":"event"}
1: (4098) <-1010-exec-interrupt
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4099) ->1010^done\n"},"seq":170,"type":"event"}
1: (4099) ->1010^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4099) ->(gdb)\n"},"seq":172,"type":"event"}
1: (4099) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4100) ->=thread-created,id=\"2\",group-id=\"i1\"\n"},"seq":174,"type":"event"}
1: (4100) ->=thread-created,id="2",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4100) ->=thread-created,id=\"3\",group-id=\"i1\"\n"},"seq":176,"type":"event"}
1: (4100) ->=thread-created,id="3",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4100) ->=thread-created,id=\"4\",group-id=\"i1\"\n"},"seq":178,"type":"event"}
1: (4100) ->=thread-created,id="4",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4100) ->=thread-created,id=\"5\",group-id=\"i1\"\n"},"seq":180,"type":"event"}
1: (4100) ->=thread-created,id="5",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4101) ->=thread-created,id=\"6\",group-id=\"i1\"\n"},"seq":182,"type":"event"}
1: (4101) ->=thread-created,id="6",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4101) ->=thread-created,id=\"7\",group-id=\"i1\"\n"},"seq":184,"type":"event"}
1: (4101) ->=thread-created,id="7",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4101) ->=thread-created,id=\"8\",group-id=\"i1\"\n"},"seq":186,"type":"event"}
1: (4101) ->=thread-created,id="8",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4101) ->(gdb)\n"},"seq":188,"type":"event"}
1: (4101) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4102) ->*stopped,reason=\"signal-received\",signal-name=\"SIGINT\",signal-meaning=\"Interrupt\",frame={level=\"0\",addr=\"0x0000000100055000\",func=\"??\",file=\"??\",fullname=\"??\",line=\"-1\"},thread-id=\"1\",stopped-threads=\"all\"\n"},"seq":190,"type":"event"}
1: (4102) ->*stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={level="0",addr="0x0000000100055000",func="??",file="??",fullname="??",line="-1"},thread-id="1",stopped-threads="all"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4102) ->(gdb)\n"},"seq":192,"type":"event"}
1: (4102) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4102) 1010: elapsed time 4\n"},"seq":194,"type":"event"}
1: (4102) 1010: elapsed time 4
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4102) <-1011-thread-info 2\n"},"seq":196,"type":"event"}
1: (4102) <-1011-thread-info 2
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4103) <-1012-thread-info 3\n"},"seq":198,"type":"event"}
1: (4103) <-1012-thread-info 3
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4103) <-1013-thread-info 4\n"},"seq":200,"type":"event"}
1: (4103) <-1013-thread-info 4
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4103) ->1011^done,threads=[{id=\"2\",target-id=\"Thread 2\",frame={level=\"0\",addr=\"0x00007fff729d3cba\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff72a9269b\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":202,"type":"event"}
1: (4103) ->1011^done,threads=[{id="2",target-id="Thread 2",frame={level="0",addr="0x00007fff729d3cba",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff72a9269b",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4103) <-1014-thread-info 5\n"},"seq":204,"type":"event"}
1: (4103) <-1014-thread-info 5
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4103) ->(gdb)\n"},"seq":206,"type":"event"}
1: (4103) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4104) <-1015-thread-info 6\n"},"seq":208,"type":"event"}
1: (4104) <-1015-thread-info 6
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4104) <-1016-thread-info 7\n"},"seq":210,"type":"event"}
1: (4104) <-1016-thread-info 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4105) <-1017-thread-info 8\n"},"seq":212,"type":"event"}
1: (4105) <-1017-thread-info 8
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4104) ->1012^done,threads=[{id=\"3\",target-id=\"Thread 3\",frame={level=\"0\",addr=\"0x00007fff729d3cba\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff72a9269b\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":214,"type":"event"}
1: (4104) ->1012^done,threads=[{id="3",target-id="Thread 3",frame={level="0",addr="0x00007fff729d3cba",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff72a9269b",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4105) ->(gdb)\n"},"seq":216,"type":"event"}
1: (4105) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4105) ->1013^done,threads=[{id=\"4\",target-id=\"Thread 4\",frame={level=\"0\",addr=\"0x00007fff729d3cba\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff72a9269b\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":218,"type":"event"}
1: (4105) ->1013^done,threads=[{id="4",target-id="Thread 4",frame={level="0",addr="0x00007fff729d3cba",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff72a9269b",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4106) ->(gdb)\n"},"seq":220,"type":"event"}
1: (4106) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4106) ->1014^done,threads=[{id=\"5\",target-id=\"Thread 5\",frame={level=\"0\",addr=\"0x00007fff729d2286\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff3bccdf95\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"2\",addr=\"0x00007fff3bccd525\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"3\",addr=\"0x00007fff3bcccc01\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"4\",addr=\"0x00007fff38fdcce2\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"5\",addr=\"0x00007fff72a95daa\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"6\",addr=\"0x00007fff72a926af\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":222,"type":"event"}
1: (4106) ->1014^done,threads=[{id="5",target-id="Thread 5",frame={level="0",addr="0x00007fff729d2286",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff3bccdf95",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="2",addr="0x00007fff3bccd525",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="3",addr="0x00007fff3bcccc01",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="4",addr="0x00007fff38fdcce2",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="5",addr="0x00007fff72a95daa",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="6",addr="0x00007fff72a926af",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4106) ->(gdb)\n"},"seq":224,"type":"event"}
1: (4106) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) ->1015^done,threads=[{id=\"6\",target-id=\"Thread 6\",frame={level=\"0\",addr=\"0x00007fff729d3cba\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff72a9269b\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":226,"type":"event"}
1: (4107) ->1015^done,threads=[{id="6",target-id="Thread 6",frame={level="0",addr="0x00007fff729d3cba",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff72a9269b",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) ->(gdb)\n"},"seq":228,"type":"event"}
1: (4107) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) ->1016^done,threads=[{id=\"7\",target-id=\"Thread 7\",frame={level=\"0\",addr=\"0x00007fff729d3cba\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff72a9269b\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":230,"type":"event"}
1: (4107) ->1016^done,threads=[{id="7",target-id="Thread 7",frame={level="0",addr="0x00007fff729d3cba",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff72a9269b",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) ->(gdb)\n"},"seq":232,"type":"event"}
1: (4107) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) <-1018-exec-abort\n"},"seq":234,"type":"event"}
1: (4107) <-1018-exec-abort
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4107) ->1017^done,threads=[{id=\"8\",target-id=\"Thread 8\",frame={level=\"0\",addr=\"0x00007fff729d5a36\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"1\",addr=\"0x00007fff3dcf7ccb\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"2\",addr=\"0x00007fff3dcf727a\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"3\",addr=\"0x00007fff72a95daa\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},frame={level=\"4\",addr=\"0x00007fff72a926af\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":236,"type":"event"}
1: (4107) ->1017^done,threads=[{id="8",target-id="Thread 8",frame={level="0",addr="0x00007fff729d5a36",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="1",addr="0x00007fff3dcf7ccb",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="2",addr="0x00007fff3dcf727a",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="3",addr="0x00007fff72a95daa",func="??",args=[],file="??",fullname="??",line="-1"},frame={level="4",addr="0x00007fff72a926af",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4108) ->(gdb)\n"},"seq":238,"type":"event"}
1: (4108) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4109) 1011: elapsed time 6\n"},"seq":240,"type":"event"}
1: (4109) 1011: elapsed time 6
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4109) Send Event AD7ThreadCreateEvent\n"},"seq":242,"type":"event"}
1: (4109) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4110) 1012: elapsed time 6\n"},"seq":244,"type":"event"}
1: (4110) 1012: elapsed time 6
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4110) Send Event AD7ThreadCreateEvent\n"},"seq":246,"type":"event"}
1: (4110) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4110) 1013: elapsed time 7\n"},"seq":248,"type":"event"}
1: (4110) 1013: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4110) Send Event AD7ThreadCreateEvent\n"},"seq":250,"type":"event"}
1: (4110) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4111) 1014: elapsed time 7\n"},"seq":252,"type":"event"}
1: (4111) 1014: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4111) Send Event AD7ThreadCreateEvent\n"},"seq":254,"type":"event"}
1: (4111) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4111) 1015: elapsed time 7\n"},"seq":256,"type":"event"}
1: (4111) 1015: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4111) Send Event AD7ThreadCreateEvent\n"},"seq":258,"type":"event"}
1: (4111) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4111) 1016: elapsed time 7\n"},"seq":260,"type":"event"}
1: (4111) 1016: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4112) Send Event AD7ThreadCreateEvent\n"},"seq":262,"type":"event"}
1: (4112) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4112) 1017: elapsed time 7\n"},"seq":264,"type":"event"}
1: (4112) 1017: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4112) Send Event AD7ThreadCreateEvent\n"},"seq":266,"type":"event"}
1: (4112) Send Event AD7ThreadCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4119) ->1018^done\n"},"seq":268,"type":"event"}
1: (4119) ->1018^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4119) ->(gdb)\n"},"seq":270,"type":"event"}
1: (4119) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4119) 1018: elapsed time 12\n"},"seq":272,"type":"event"}
1: (4119) 1018: elapsed time 12
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4120) ->(gdb)\n"},"seq":274,"type":"event"}
1: (4120) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4120) ->=thread-exited,id=\"1\",group-id=\"i1\"\n"},"seq":276,"type":"event"}
1: (4120) ->=thread-exited,id="1",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4120) ->=thread-group-exited,id=\"i1\",exit-code=\"0\"\n"},"seq":278,"type":"event"}
1: (4120) ->=thread-group-exited,id="i1",exit-code="0"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4121) ->*stopped,reason=\"exited-normally\"\n"},"seq":280,"type":"event"}
1: (4121) ->*stopped,reason="exited-normally"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4121) ->(gdb)\n"},"seq":282,"type":"event"}
1: (4121) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4122) Send Event AD7ThreadDestroyEvent\n"},"seq":284,"type":"event"}
1: (4122) Send Event AD7ThreadDestroyEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4123) <--gdb-exit\n"},"seq":286,"type":"event"}
1: (4123) <--gdb-exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4123) ->^exit\n"},"seq":288,"type":"event"}
1: (4123) ->^exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4124) ->=thread-group-exited,id=\"i1\"\n"},"seq":290,"type":"event"}
1: (4124) ->=thread-group-exited,id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4124) ->(gdb)\n"},"seq":292,"type":"event"}
1: (4124) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4126) ->\n"},"seq":294,"type":"event"}
1: (4126) ->
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4126) ->\n"},"seq":296,"type":"event"}
1: (4126) ->
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4128) <-logout\n"},"seq":298,"type":"event"}
1: (4128) <-logout
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4129) \"/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi\" exited with code 0 (0x0).\n"},"seq":300,"type":"event"}
1: (4129) "/Users/jai/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders/debugAdapters/lldb/bin/lldb-mi" exited with code 0 (0x0).
--> E (output): {"event":"output","body":{"category":"console","output":"1: (4132) Send Event AD7ProgramDestroyEvent\n"},"seq":302,"type":"event"}
1: (4132) Send Event AD7ProgramDestroyEvent
--> E (output): {"event":"output","body":{"category":"console","output":"The program '/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out' has exited with code 42 (0x0000002a).\r\n\n"},"seq":304,"type":"event"}
The program '/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out' has exited with code 42 (0x0000002a).
--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.DebugCompleted.BreakCounter":0}},"seq":306,"type":"event"}
--> R (disconnect-8): {"request_seq":8,"success":true,"command":"disconnect","body":{},"seq":308,"type":"response"}
From the logs, it looks like the breakpoint is ready:
1: (570) ->1007^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000010001da40",func="main",file="Application.cpp",fullname="/Users/jai/Projects/TheCherno/OpenGLTut/src/Application.cpp",line="53",pending=["main"],times="0",original-location="main"}
But your program is recieving a SIGINT and exiting:
1: (4102) ->*stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={level="0",addr="0x0000000100055000",func="??",file="??",fullname="??",line="-1"},thread-id="1",stopped-threads="all"
--> E (output): {"event":"output","body":{"category":"console","output":"The program '/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out' has exited with code 42 (0x0000002a).\r\n\n"},"seq":304,"type":"event"}
The program '/Users/jai/Projects/TheCherno/OpenGLTut/debug/OpenGLTut.out' has exited with code 42 (0x0000002a).
Do you stop if you enable stopAtEntry in your launch.json?
Just add:
"stopAtEntry": true
"stopAtEntry": true,
stopAtEntry is already set to true from the json file that I have provided, and no it does not stop sadly
Not sure if the problem is related, but breakpoints stopped working for me when I upgraded to the macOS Catalina and Xcode11 betas (not sure if the bug is triggered by the macOS or Xcode update).
Both "Stop At Entry" as well as breakpoints don't work (neither breakpoints set before the debugging session starts, nor breakpoints set during the debugging session).
Using the CodeLLDB extension still works fine btw.
Debug log from the C/CPP Extension Debugger:
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\n"},"seq":2,"type":"event"}
1: (563) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (584) LaunchOptions ExePath='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp'\n"},"seq":4,"type":"event"}
1: (584) LaunchOptions ExePath='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (585) LaunchOptions WorkingDirectory='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS'\n"},"seq":6,"type":"event"}
1: (585) LaunchOptions WorkingDirectory='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (587) LaunchOptions ExeArguments=''\n"},"seq":8,"type":"event"}
1: (587) LaunchOptions ExeArguments=''
--> E (output): {"event":"output","body":{"category":"console","output":"1: (589) LaunchOptions MIMode='lldb'\n"},"seq":10,"type":"event"}
1: (589) LaunchOptions MIMode='lldb'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (594) LaunchOptions MIDebuggerPath='/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi'\n"},"seq":12,"type":"event"}
1: (594) LaunchOptions MIDebuggerPath='/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (596) LaunchOptions WaitDynamicLibLoad='false'\n"},"seq":14,"type":"event"}
1: (596) LaunchOptions WaitDynamicLibLoad='false'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (598) LaunchOptions>\n"},"seq":16,"type":"event"}
1: (598) LaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (600) LaunchOptions</LocalLaunchOptions>\n"},"seq":18,"type":"event"}
1: (600) LaunchOptions</LocalLaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (843) Starting: \"/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi\" --interpreter=mi\n"},"seq":20,"type":"event"}
1: (843) Starting: "/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi" --interpreter=mi
--> E (output): {"event":"output","body":{"category":"console","output":"1: (870) DebuggerPid=12060\n"},"seq":22,"type":"event"}
1: (870) DebuggerPid=12060
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1042) ->(gdb)\n"},"seq":24,"type":"event"}
1: (1042) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1055) <-1001-gdb-set auto-solib-add on\n"},"seq":26,"type":"event"}
1: (1055) <-1001-gdb-set auto-solib-add on
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1056) ->1001^done\n"},"seq":28,"type":"event"}
1: (1056) ->1001^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1057) ->(gdb)\n"},"seq":30,"type":"event"}
1: (1057) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1059) 1001: elapsed time 4\n"},"seq":32,"type":"event"}
1: (1059) 1001: elapsed time 4
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1060) <-1002-gdb-set solib-search-path \"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS:\"\n"},"seq":34,"type":"event"}
1: (1060) <-1002-gdb-set solib-search-path "/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS:"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1060) ->1002^done\n"},"seq":36,"type":"event"}
1: (1060) ->1002^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) 1002: elapsed time 0\n"},"seq":38,"type":"event"}
1: (1061) 1002: elapsed time 0
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) ->(gdb)\n"},"seq":40,"type":"event"}
1: (1061) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) <-1003-environment-cd /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\n"},"seq":42,"type":"event"}
1: (1061) <-1003-environment-cd /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1062) ->1003^done,path=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\"\n"},"seq":44,"type":"event"}
1: (1062) ->1003^done,path="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1062) ->(gdb)\n"},"seq":46,"type":"event"}
1: (1062) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1066) 1003: elapsed time 4\n"},"seq":48,"type":"event"}
1: (1066) 1003: elapsed time 4
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1066) <-1004-file-exec-and-symbols /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\n"},"seq":50,"type":"event"}
1: (1066) <-1004-file-exec-and-symbols /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1167) ->1004^done\n"},"seq":52,"type":"event"}
1: (1167) ->1004^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1168) 1004: elapsed time 101\n"},"seq":54,"type":"event"}
1: (1168) 1004: elapsed time 101
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1169) ->(gdb)\n"},"seq":56,"type":"event"}
1: (1169) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1170) ->=library-loaded,id=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",target-name=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",host-name=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",symbols-loaded=\"0\",loaded_addr=\"-\",size=\"131072\"\n"},"seq":58,"type":"event"}
1: (1170) ->=library-loaded,id="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",target-name="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",host-name="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",symbols-loaded="0",loaded_addr="-",size="131072"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1171) <-1005-interpreter-exec console \"platform status\"\n"},"seq":60,"type":"event"}
1: (1171) <-1005-interpreter-exec console "platform status"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1172) -> Platform: host\n"},"seq":62,"type":"event"}
1: (1172) -> Platform: host
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1173) -> Triple: x86_64h-apple-macosx\n"},"seq":64,"type":"event"}
1: (1173) -> Triple: x86_64h-apple-macosx
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1173) ->OS Version: 10.15 (19A501i)\n"},"seq":66,"type":"event"}
1: (1173) ->OS Version: 10.15 (19A501i)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1174) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 27 20:18:24 PDT 2019; root:xnu-6153.0.13.131.3~1/RELEASE_X86_64\n"},"seq":68,"type":"event"}
1: (1174) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 27 20:18:24 PDT 2019; root:xnu-6153.0.13.131.3~1/RELEASE_X86_64
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1174) -> Hostname: 127.0.0.1\n"},"seq":70,"type":"event"}
1: (1174) -> Hostname: 127.0.0.1
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1175) ->WorkingDir: /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\n"},"seq":72,"type":"event"}
1: (1175) ->WorkingDir: /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) ->1005^done\n"},"seq":74,"type":"event"}
1: (1176) ->1005^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) ->(gdb)\n"},"seq":76,"type":"event"}
1: (1176) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) 1005: elapsed time 4\n"},"seq":78,"type":"event"}
1: (1176) 1005: elapsed time 4
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1178) <-1006-break-insert -f on main\n"},"seq":80,"type":"event"}
1: (1178) <-1006-break-insert -f on main
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1182) ->1006^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100006389\",func=\"main\",file=\"sokol.m\",fullname=\"/Users/floh/projects/sokol-samples/libs/sokol/sokol.m\",line=\"1244\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":82,"type":"event"}
1: (1182) ->1006^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100006389",func="main",file="sokol.m",fullname="/Users/floh/projects/sokol-samples/libs/sokol/sokol.m",line="1244",pending=["main"],times="0",original-location="main"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1182) ->(gdb)\n"},"seq":84,"type":"event"}
1: (1182) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1183) ->=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100006389\",func=\"main\",file=\"sokol.m\",fullname=\"/Users/floh/projects/sokol-samples/libs/sokol/sokol.m\",line=\"1244\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":86,"type":"event"}
1: (1183) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100006389",func="main",file="sokol.m",fullname="/Users/floh/projects/sokol-samples/libs/sokol/sokol.m",line="1244",pending=["main"],times="0",original-location="main"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1184) ->(gdb)\n"},"seq":88,"type":"event"}
1: (1184) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1187) 1006: elapsed time 8\n"},"seq":90,"type":"event"}
1: (1187) 1006: elapsed time 8
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1194) Send Event AD7EngineCreateEvent\n"},"seq":92,"type":"event"}
1: (1194) Send Event AD7EngineCreateEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1197) Send Event AD7ProgramCreateEvent\n"},"seq":94,"type":"event"}
1: (1197) Send Event AD7ProgramCreateEvent
--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":799,"VS.Diagnostics.Debugger.Launch.IsCoreDump":false,"VS.Diagnostics.Debugger.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.SourceFileMappings":0}},"seq":96,"type":"event"}
--> R (launch-2): {"request_seq":2,"success":true,"command":"launch","body":{},"seq":98,"type":"response"}
--> E (initialized): {"event":"initialized","body":{},"seq":100,"type":"event"}
<-- C (setBreakpoints-3): {"command":"setBreakpoints","arguments":{"source":{"name":"arraytex-sapp.c","path":"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c"},"lines":[29],"breakpoints":[{"line":29}],"sourceModified":false},"type":"request","seq":3}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1288) <-1007-break-insert -f on arraytex-sapp.c:29\n"},"seq":103,"type":"event"}
1: (1288) <-1007-break-insert -f on arraytex-sapp.c:29
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1290) ->1007^done,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100005399\",func=\"init\",file=\"arraytex-sapp.c\",fullname=\"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c\",line=\"29\",pending=[\"arraytex-sapp.c:29\"],times=\"0\",original-location=\"arraytex-sapp.c:29\"}\n"},"seq":105,"type":"event"}
1: (1290) ->1007^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100005399",func="init",file="arraytex-sapp.c",fullname="/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c",line="29",pending=["arraytex-sapp.c:29"],times="0",original-location="arraytex-sapp.c:29"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1290) 1007: elapsed time 2\n"},"seq":107,"type":"event"}
1: (1290) 1007: elapsed time 2
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1291) ->(gdb)\n"},"seq":109,"type":"event"}
1: (1291) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1292) ->=breakpoint-modified,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100005399\",func=\"init\",file=\"arraytex-sapp.c\",fullname=\"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c\",line=\"29\",pending=[\"arraytex-sapp.c:29\"],times=\"0\",original-location=\"arraytex-sapp.c:29\"}\n"},"seq":111,"type":"event"}
1: (1292) ->=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100005399",func="init",file="arraytex-sapp.c",fullname="/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c",line="29",pending=["arraytex-sapp.c:29"],times="0",original-location="arraytex-sapp.c:29"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1293) ->(gdb)\n"},"seq":113,"type":"event"}
1: (1293) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1302) Send Event AD7BreakpointBoundEvent\n"},"seq":115,"type":"event"}
1: (1302) Send Event AD7BreakpointBoundEvent
--> R (setBreakpoints-3): {"request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":true,"line":29}]},"seq":117,"type":"response"}
--> E (breakpoint): {"event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":true,"line":29}},"seq":119,"type":"event"}
<-- C (setFunctionBreakpoints-4): {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
--> R (setFunctionBreakpoints-4): {"request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":122,"type":"response"}
<-- C (setExceptionBreakpoints-5): {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":5}
--> R (setExceptionBreakpoints-5): {"request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{},"seq":125,"type":"response"}
<-- C (configurationDone-6): {"command":"configurationDone","type":"request","seq":6}
1: (1386) Send Event AD7LoadCompleteEvent
--> R (configurationDone-6): {"request_seq":6,"success":true,"command":"configurationDone","body":{},"seq":128,"type":"response"}
<-- C (threads-7): {"command":"threads","type":"request","seq":7}
--> E (output): {"event":"output","body":{"category":"stdout","output":"Warning: Debuggee TargetArchitecture not detected, assuming x86_64.\n"},"seq":132,"type":"event"}
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1405) <-1008-exec-run\n"},"seq":135,"type":"event"}
1: (1405) <-1008-exec-run
--> R (threads-7): {"request_seq":7,"success":true,"command":"threads","body":{"threads":[]},"seq":134,"type":"response"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1730) ->1008^running\n"},"seq":138,"type":"event"}
1: (1730) ->1008^running
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1731) ->=thread-group-started,id=\"i1\",pid=\"12061\"\n"},"seq":140,"type":"event"}
1: (1731) ->=thread-group-started,id="i1",pid="12061"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1731) 1008: elapsed time 325\n"},"seq":142,"type":"event"}
1: (1731) 1008: elapsed time 325
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1732) ->(gdb)\n"},"seq":144,"type":"event"}
1: (1732) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1733) ->=thread-created,id=\"1\",group-id=\"i1\"\n"},"seq":146,"type":"event"}
1: (1733) ->=thread-created,id="1",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1734) ->=thread-selected,id=\"1\"\n"},"seq":148,"type":"event"}
1: (1734) ->=thread-selected,id="1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1734) ->(gdb)\n"},"seq":150,"type":"event"}
1: (1734) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1735) ->*running,thread-id=\"all\"\n"},"seq":152,"type":"event"}
1: (1735) ->*running,thread-id="all"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1737) ->(gdb)\n"},"seq":154,"type":"event"}
1: (1737) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1739) <-1009-thread-info 1\n"},"seq":156,"type":"event"}
1: (1739) <-1009-thread-info 1
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1740) ->1009^done,threads=[{id=\"1\",target-id=\"Thread 1\",frame={level=\"0\",addr=\"0x0000000100031000\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":158,"type":"event"}
1: (1740) ->1009^done,threads=[{id="1",target-id="Thread 1",frame={level="0",addr="0x0000000100031000",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}]
--> E (output): {"event":"output","body":{"category":"stdout","output":"=thread-selected,id=\"1\"\n"},"seq":160,"type":"event"}
1: (1741) ->(gdb)
=thread-selected,id="1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1743) 1009: elapsed time 3\n"},"seq":163,"type":"event"}
1: (1743) 1009: elapsed time 3
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1747) Send Event AD7ProcessInfoUpdatedEvent\n"},"seq":165,"type":"event"}
1: (1747) Send Event AD7ProcessInfoUpdatedEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (1747) Send Event AD7ThreadCreateEvent\n"},"seq":167,"type":"event"}
1: (1747) Send Event AD7ThreadCreateEvent
--> E (thread): {"event":"thread","body":{"reason":"started","threadId":1},"seq":169,"type":"event"}
<-- C (threads-8): {"command":"threads","type":"request","seq":8}
--> R (threads-8): {"request_seq":8,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"Thread #1"}]},"seq":172,"type":"response"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5780) ->(gdb)\n"},"seq":174,"type":"event"}
1: (5780) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5781) ->=thread-exited,id=\"1\",group-id=\"i1\"\n"},"seq":176,"type":"event"}
1: (5781) ->=thread-exited,id="1",group-id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5782) ->=thread-group-exited,id=\"i1\",exit-code=\"0\"\n"},"seq":178,"type":"event"}
1: (5782) ->=thread-group-exited,id="i1",exit-code="0"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5782) ->*stopped,reason=\"exited-normally\"\n"},"seq":180,"type":"event"}
1: (5782) ->*stopped,reason="exited-normally"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5783) ->(gdb)\n"},"seq":182,"type":"event"}
1: (5783) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5787) Send Event AD7ThreadDestroyEvent\n"},"seq":184,"type":"event"}
1: (5787) Send Event AD7ThreadDestroyEvent
--> E (thread): {"event":"thread","body":{"reason":"exited","threadId":1},"seq":186,"type":"event"}
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5795) <--gdb-exit\n"},"seq":188,"type":"event"}
1: (5795) <--gdb-exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5796) ->^exit\n"},"seq":190,"type":"event"}
1: (5796) ->^exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5797) ->=thread-group-exited,id=\"i1\"\n"},"seq":192,"type":"event"}
1: (5797) ->=thread-group-exited,id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5797) ->(gdb)\n"},"seq":194,"type":"event"}
1: (5797) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5802) ->\n"},"seq":196,"type":"event"}
1: (5802) ->
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5802) ->\n"},"seq":198,"type":"event"}
1: (5802) ->
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5804) <-logout\n"},"seq":200,"type":"event"}
1: (5804) <-logout
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5817) \"/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi\" exited with code 0 (0x0).\n"},"seq":202,"type":"event"}
1: (5817) "/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi" exited with code 0 (0x0).
--> E (output): {"event":"output","body":{"category":"console","output":"1: (5820) Send Event AD7ProgramDestroyEvent\n"},"seq":204,"type":"event"}
1: (5820) Send Event AD7ProgramDestroyEvent
--> E (output): {"event":"output","body":{"category":"console","output":"The program '/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp' has exited with code 0 (0x00000000).\r\n\n"},"seq":206,"type":"event"}
The program '/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp' has exited with code 0 (0x00000000).
--> E (exited): {"event":"exited","body":{"exitCode":0},"seq":208,"type":"event"}
--> E (terminated): {"event":"terminated","body":{},"seq":210,"type":"event"}
--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.DebugCompleted.BreakCounter":0}},"seq":212,"type":"event"}
<-- C (disconnect-9): {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":9}
--> R (disconnect-9): {"request_seq":9,"success":true,"command":"disconnect","body":{},"seq":215,"type":"response"}
Not sure if the problem is related, but breakpoints stopped working for me when I upgraded to the macOS Catalina and Xcode11 betas (not sure if the bug is triggered by the macOS or Xcode update).
Both "Stop At Entry" as well as breakpoints don't work (neither breakpoints set before the debugging session starts, nor breakpoints set during the debugging session).
Using the CodeLLDB extension still works fine btw.
Debug log from the C/CPP Extension Debugger:
--> E (output): {"event":"output","body":{"category":"console","output":"1: (563) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\n"},"seq":2,"type":"event"} 1: (563) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014' --> E (output): {"event":"output","body":{"category":"console","output":"1: (584) LaunchOptions ExePath='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp'\n"},"seq":4,"type":"event"} 1: (584) LaunchOptions ExePath='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp' --> E (output): {"event":"output","body":{"category":"console","output":"1: (585) LaunchOptions WorkingDirectory='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS'\n"},"seq":6,"type":"event"} 1: (585) LaunchOptions WorkingDirectory='/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS' --> E (output): {"event":"output","body":{"category":"console","output":"1: (587) LaunchOptions ExeArguments=''\n"},"seq":8,"type":"event"} 1: (587) LaunchOptions ExeArguments='' --> E (output): {"event":"output","body":{"category":"console","output":"1: (589) LaunchOptions MIMode='lldb'\n"},"seq":10,"type":"event"} 1: (589) LaunchOptions MIMode='lldb' --> E (output): {"event":"output","body":{"category":"console","output":"1: (594) LaunchOptions MIDebuggerPath='/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi'\n"},"seq":12,"type":"event"} 1: (594) LaunchOptions MIDebuggerPath='/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi' --> E (output): {"event":"output","body":{"category":"console","output":"1: (596) LaunchOptions WaitDynamicLibLoad='false'\n"},"seq":14,"type":"event"} 1: (596) LaunchOptions WaitDynamicLibLoad='false' --> E (output): {"event":"output","body":{"category":"console","output":"1: (598) LaunchOptions>\n"},"seq":16,"type":"event"} 1: (598) LaunchOptions> --> E (output): {"event":"output","body":{"category":"console","output":"1: (600) LaunchOptions</LocalLaunchOptions>\n"},"seq":18,"type":"event"} 1: (600) LaunchOptions</LocalLaunchOptions> --> E (output): {"event":"output","body":{"category":"console","output":"1: (843) Starting: \"/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi\" --interpreter=mi\n"},"seq":20,"type":"event"} 1: (843) Starting: "/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi" --interpreter=mi --> E (output): {"event":"output","body":{"category":"console","output":"1: (870) DebuggerPid=12060\n"},"seq":22,"type":"event"} 1: (870) DebuggerPid=12060 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1042) ->(gdb)\n"},"seq":24,"type":"event"} 1: (1042) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1055) <-1001-gdb-set auto-solib-add on\n"},"seq":26,"type":"event"} 1: (1055) <-1001-gdb-set auto-solib-add on --> E (output): {"event":"output","body":{"category":"console","output":"1: (1056) ->1001^done\n"},"seq":28,"type":"event"} 1: (1056) ->1001^done --> E (output): {"event":"output","body":{"category":"console","output":"1: (1057) ->(gdb)\n"},"seq":30,"type":"event"} 1: (1057) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1059) 1001: elapsed time 4\n"},"seq":32,"type":"event"} 1: (1059) 1001: elapsed time 4 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1060) <-1002-gdb-set solib-search-path \"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS:\"\n"},"seq":34,"type":"event"} 1: (1060) <-1002-gdb-set solib-search-path "/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS:" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1060) ->1002^done\n"},"seq":36,"type":"event"} 1: (1060) ->1002^done --> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) 1002: elapsed time 0\n"},"seq":38,"type":"event"} 1: (1061) 1002: elapsed time 0 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) ->(gdb)\n"},"seq":40,"type":"event"} 1: (1061) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1061) <-1003-environment-cd /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\n"},"seq":42,"type":"event"} 1: (1061) <-1003-environment-cd /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS --> E (output): {"event":"output","body":{"category":"console","output":"1: (1062) ->1003^done,path=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\"\n"},"seq":44,"type":"event"} 1: (1062) ->1003^done,path="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1062) ->(gdb)\n"},"seq":46,"type":"event"} 1: (1062) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1066) 1003: elapsed time 4\n"},"seq":48,"type":"event"} 1: (1066) 1003: elapsed time 4 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1066) <-1004-file-exec-and-symbols /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\n"},"seq":50,"type":"event"} 1: (1066) <-1004-file-exec-and-symbols /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp --> E (output): {"event":"output","body":{"category":"console","output":"1: (1167) ->1004^done\n"},"seq":52,"type":"event"} 1: (1167) ->1004^done --> E (output): {"event":"output","body":{"category":"console","output":"1: (1168) 1004: elapsed time 101\n"},"seq":54,"type":"event"} 1: (1168) 1004: elapsed time 101 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1169) ->(gdb)\n"},"seq":56,"type":"event"} 1: (1169) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1170) ->=library-loaded,id=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",target-name=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",host-name=\"/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp\",symbols-loaded=\"0\",loaded_addr=\"-\",size=\"131072\"\n"},"seq":58,"type":"event"} 1: (1170) ->=library-loaded,id="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",target-name="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",host-name="/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp",symbols-loaded="0",loaded_addr="-",size="131072" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1171) <-1005-interpreter-exec console \"platform status\"\n"},"seq":60,"type":"event"} 1: (1171) <-1005-interpreter-exec console "platform status" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1172) -> Platform: host\n"},"seq":62,"type":"event"} 1: (1172) -> Platform: host --> E (output): {"event":"output","body":{"category":"console","output":"1: (1173) -> Triple: x86_64h-apple-macosx\n"},"seq":64,"type":"event"} 1: (1173) -> Triple: x86_64h-apple-macosx --> E (output): {"event":"output","body":{"category":"console","output":"1: (1173) ->OS Version: 10.15 (19A501i)\n"},"seq":66,"type":"event"} 1: (1173) ->OS Version: 10.15 (19A501i) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1174) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 27 20:18:24 PDT 2019; root:xnu-6153.0.13.131.3~1/RELEASE_X86_64\n"},"seq":68,"type":"event"} 1: (1174) -> Kernel: Darwin Kernel Version 19.0.0: Thu Jun 27 20:18:24 PDT 2019; root:xnu-6153.0.13.131.3~1/RELEASE_X86_64 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1174) -> Hostname: 127.0.0.1\n"},"seq":70,"type":"event"} 1: (1174) -> Hostname: 127.0.0.1 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1175) ->WorkingDir: /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS\n"},"seq":72,"type":"event"} 1: (1175) ->WorkingDir: /Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS --> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) ->1005^done\n"},"seq":74,"type":"event"} 1: (1176) ->1005^done --> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) ->(gdb)\n"},"seq":76,"type":"event"} 1: (1176) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1176) 1005: elapsed time 4\n"},"seq":78,"type":"event"} 1: (1176) 1005: elapsed time 4 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1178) <-1006-break-insert -f on main\n"},"seq":80,"type":"event"} 1: (1178) <-1006-break-insert -f on main --> E (output): {"event":"output","body":{"category":"console","output":"1: (1182) ->1006^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100006389\",func=\"main\",file=\"sokol.m\",fullname=\"/Users/floh/projects/sokol-samples/libs/sokol/sokol.m\",line=\"1244\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":82,"type":"event"} 1: (1182) ->1006^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100006389",func="main",file="sokol.m",fullname="/Users/floh/projects/sokol-samples/libs/sokol/sokol.m",line="1244",pending=["main"],times="0",original-location="main"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1182) ->(gdb)\n"},"seq":84,"type":"event"} 1: (1182) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1183) ->=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100006389\",func=\"main\",file=\"sokol.m\",fullname=\"/Users/floh/projects/sokol-samples/libs/sokol/sokol.m\",line=\"1244\",pending=[\"main\"],times=\"0\",original-location=\"main\"}\n"},"seq":86,"type":"event"} 1: (1183) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100006389",func="main",file="sokol.m",fullname="/Users/floh/projects/sokol-samples/libs/sokol/sokol.m",line="1244",pending=["main"],times="0",original-location="main"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1184) ->(gdb)\n"},"seq":88,"type":"event"} 1: (1184) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1187) 1006: elapsed time 8\n"},"seq":90,"type":"event"} 1: (1187) 1006: elapsed time 8 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1194) Send Event AD7EngineCreateEvent\n"},"seq":92,"type":"event"} 1: (1194) Send Event AD7EngineCreateEvent --> E (output): {"event":"output","body":{"category":"console","output":"1: (1197) Send Event AD7ProgramCreateEvent\n"},"seq":94,"type":"event"} 1: (1197) Send Event AD7ProgramCreateEvent --> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":799,"VS.Diagnostics.Debugger.Launch.IsCoreDump":false,"VS.Diagnostics.Debugger.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.SourceFileMappings":0}},"seq":96,"type":"event"} --> R (launch-2): {"request_seq":2,"success":true,"command":"launch","body":{},"seq":98,"type":"response"} --> E (initialized): {"event":"initialized","body":{},"seq":100,"type":"event"} <-- C (setBreakpoints-3): {"command":"setBreakpoints","arguments":{"source":{"name":"arraytex-sapp.c","path":"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c"},"lines":[29],"breakpoints":[{"line":29}],"sourceModified":false},"type":"request","seq":3} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1288) <-1007-break-insert -f on arraytex-sapp.c:29\n"},"seq":103,"type":"event"} 1: (1288) <-1007-break-insert -f on arraytex-sapp.c:29 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1290) ->1007^done,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100005399\",func=\"init\",file=\"arraytex-sapp.c\",fullname=\"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c\",line=\"29\",pending=[\"arraytex-sapp.c:29\"],times=\"0\",original-location=\"arraytex-sapp.c:29\"}\n"},"seq":105,"type":"event"} 1: (1290) ->1007^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100005399",func="init",file="arraytex-sapp.c",fullname="/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c",line="29",pending=["arraytex-sapp.c:29"],times="0",original-location="arraytex-sapp.c:29"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1290) 1007: elapsed time 2\n"},"seq":107,"type":"event"} 1: (1290) 1007: elapsed time 2 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1291) ->(gdb)\n"},"seq":109,"type":"event"} 1: (1291) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1292) ->=breakpoint-modified,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0000000100005399\",func=\"init\",file=\"arraytex-sapp.c\",fullname=\"/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c\",line=\"29\",pending=[\"arraytex-sapp.c:29\"],times=\"0\",original-location=\"arraytex-sapp.c:29\"}\n"},"seq":111,"type":"event"} 1: (1292) ->=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100005399",func="init",file="arraytex-sapp.c",fullname="/Users/floh/projects/sokol-samples/sapp/arraytex-sapp.c",line="29",pending=["arraytex-sapp.c:29"],times="0",original-location="arraytex-sapp.c:29"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1293) ->(gdb)\n"},"seq":113,"type":"event"} 1: (1293) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1302) Send Event AD7BreakpointBoundEvent\n"},"seq":115,"type":"event"} 1: (1302) Send Event AD7BreakpointBoundEvent --> R (setBreakpoints-3): {"request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":true,"line":29}]},"seq":117,"type":"response"} --> E (breakpoint): {"event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":true,"line":29}},"seq":119,"type":"event"} <-- C (setFunctionBreakpoints-4): {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4} --> R (setFunctionBreakpoints-4): {"request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":122,"type":"response"} <-- C (setExceptionBreakpoints-5): {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":5} --> R (setExceptionBreakpoints-5): {"request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{},"seq":125,"type":"response"} <-- C (configurationDone-6): {"command":"configurationDone","type":"request","seq":6} 1: (1386) Send Event AD7LoadCompleteEvent --> R (configurationDone-6): {"request_seq":6,"success":true,"command":"configurationDone","body":{},"seq":128,"type":"response"} <-- C (threads-7): {"command":"threads","type":"request","seq":7} --> E (output): {"event":"output","body":{"category":"stdout","output":"Warning: Debuggee TargetArchitecture not detected, assuming x86_64.\n"},"seq":132,"type":"event"} Warning: Debuggee TargetArchitecture not detected, assuming x86_64. --> E (output): {"event":"output","body":{"category":"console","output":"1: (1405) <-1008-exec-run\n"},"seq":135,"type":"event"} 1: (1405) <-1008-exec-run --> R (threads-7): {"request_seq":7,"success":true,"command":"threads","body":{"threads":[]},"seq":134,"type":"response"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (1730) ->1008^running\n"},"seq":138,"type":"event"} 1: (1730) ->1008^running --> E (output): {"event":"output","body":{"category":"console","output":"1: (1731) ->=thread-group-started,id=\"i1\",pid=\"12061\"\n"},"seq":140,"type":"event"} 1: (1731) ->=thread-group-started,id="i1",pid="12061" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1731) 1008: elapsed time 325\n"},"seq":142,"type":"event"} 1: (1731) 1008: elapsed time 325 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1732) ->(gdb)\n"},"seq":144,"type":"event"} 1: (1732) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1733) ->=thread-created,id=\"1\",group-id=\"i1\"\n"},"seq":146,"type":"event"} 1: (1733) ->=thread-created,id="1",group-id="i1" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1734) ->=thread-selected,id=\"1\"\n"},"seq":148,"type":"event"} 1: (1734) ->=thread-selected,id="1" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1734) ->(gdb)\n"},"seq":150,"type":"event"} 1: (1734) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1735) ->*running,thread-id=\"all\"\n"},"seq":152,"type":"event"} 1: (1735) ->*running,thread-id="all" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1737) ->(gdb)\n"},"seq":154,"type":"event"} 1: (1737) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (1739) <-1009-thread-info 1\n"},"seq":156,"type":"event"} 1: (1739) <-1009-thread-info 1 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1740) ->1009^done,threads=[{id=\"1\",target-id=\"Thread 1\",frame={level=\"0\",addr=\"0x0000000100031000\",func=\"??\",args=[],file=\"??\",fullname=\"??\",line=\"-1\"},state=\"running\"}]\n"},"seq":158,"type":"event"} 1: (1740) ->1009^done,threads=[{id="1",target-id="Thread 1",frame={level="0",addr="0x0000000100031000",func="??",args=[],file="??",fullname="??",line="-1"},state="running"}] --> E (output): {"event":"output","body":{"category":"stdout","output":"=thread-selected,id=\"1\"\n"},"seq":160,"type":"event"} 1: (1741) ->(gdb) =thread-selected,id="1" --> E (output): {"event":"output","body":{"category":"console","output":"1: (1743) 1009: elapsed time 3\n"},"seq":163,"type":"event"} 1: (1743) 1009: elapsed time 3 --> E (output): {"event":"output","body":{"category":"console","output":"1: (1747) Send Event AD7ProcessInfoUpdatedEvent\n"},"seq":165,"type":"event"} 1: (1747) Send Event AD7ProcessInfoUpdatedEvent --> E (output): {"event":"output","body":{"category":"console","output":"1: (1747) Send Event AD7ThreadCreateEvent\n"},"seq":167,"type":"event"} 1: (1747) Send Event AD7ThreadCreateEvent --> E (thread): {"event":"thread","body":{"reason":"started","threadId":1},"seq":169,"type":"event"} <-- C (threads-8): {"command":"threads","type":"request","seq":8} --> R (threads-8): {"request_seq":8,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"Thread #1"}]},"seq":172,"type":"response"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (5780) ->(gdb)\n"},"seq":174,"type":"event"} 1: (5780) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (5781) ->=thread-exited,id=\"1\",group-id=\"i1\"\n"},"seq":176,"type":"event"} 1: (5781) ->=thread-exited,id="1",group-id="i1" --> E (output): {"event":"output","body":{"category":"console","output":"1: (5782) ->=thread-group-exited,id=\"i1\",exit-code=\"0\"\n"},"seq":178,"type":"event"} 1: (5782) ->=thread-group-exited,id="i1",exit-code="0" --> E (output): {"event":"output","body":{"category":"console","output":"1: (5782) ->*stopped,reason=\"exited-normally\"\n"},"seq":180,"type":"event"} 1: (5782) ->*stopped,reason="exited-normally" --> E (output): {"event":"output","body":{"category":"console","output":"1: (5783) ->(gdb)\n"},"seq":182,"type":"event"} 1: (5783) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (5787) Send Event AD7ThreadDestroyEvent\n"},"seq":184,"type":"event"} 1: (5787) Send Event AD7ThreadDestroyEvent --> E (thread): {"event":"thread","body":{"reason":"exited","threadId":1},"seq":186,"type":"event"} --> E (output): {"event":"output","body":{"category":"console","output":"1: (5795) <--gdb-exit\n"},"seq":188,"type":"event"} 1: (5795) <--gdb-exit --> E (output): {"event":"output","body":{"category":"console","output":"1: (5796) ->^exit\n"},"seq":190,"type":"event"} 1: (5796) ->^exit --> E (output): {"event":"output","body":{"category":"console","output":"1: (5797) ->=thread-group-exited,id=\"i1\"\n"},"seq":192,"type":"event"} 1: (5797) ->=thread-group-exited,id="i1" --> E (output): {"event":"output","body":{"category":"console","output":"1: (5797) ->(gdb)\n"},"seq":194,"type":"event"} 1: (5797) ->(gdb) --> E (output): {"event":"output","body":{"category":"console","output":"1: (5802) ->\n"},"seq":196,"type":"event"} 1: (5802) -> --> E (output): {"event":"output","body":{"category":"console","output":"1: (5802) ->\n"},"seq":198,"type":"event"} 1: (5802) -> --> E (output): {"event":"output","body":{"category":"console","output":"1: (5804) <-logout\n"},"seq":200,"type":"event"} 1: (5804) <-logout --> E (output): {"event":"output","body":{"category":"console","output":"1: (5817) \"/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi\" exited with code 0 (0x0).\n"},"seq":202,"type":"event"} 1: (5817) "/Users/floh/.vscode/extensions/ms-vscode.cpptools-0.24.0-insiders3/debugAdapters/lldb/bin/lldb-mi" exited with code 0 (0x0). --> E (output): {"event":"output","body":{"category":"console","output":"1: (5820) Send Event AD7ProgramDestroyEvent\n"},"seq":204,"type":"event"} 1: (5820) Send Event AD7ProgramDestroyEvent --> E (output): {"event":"output","body":{"category":"console","output":"The program '/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp' has exited with code 0 (0x00000000).\r\n\n"},"seq":206,"type":"event"} The program '/Users/floh/projects/fips-deploy/sokol-samples/sapp-metal-osx-vscode-debug/arraytex-sapp.app/Contents/MacOS/arraytex-sapp' has exited with code 0 (0x00000000). --> E (exited): {"event":"exited","body":{"exitCode":0},"seq":208,"type":"event"} --> E (terminated): {"event":"terminated","body":{},"seq":210,"type":"event"} --> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.60611.1","VS.Diagnostics.Debugger.HostVersion":"14.0.60611.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.DebugCompleted.BreakCounter":0}},"seq":212,"type":"event"} <-- C (disconnect-9): {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":9} --> R (disconnect-9): {"request_seq":9,"success":true,"command":"disconnect","body":{},"seq":215,"type":"response"}
Hi, sorry I forgot that I had updated to Catalina...I do not however have the Xcode beta. I'm guessing since we are both experiencing the issue, that it is a 10.15 beta issue. codelldb works however, I can confirm!
Ping. Just wanted to mention that the problem persists with the latest Catalina Beta and Xcode11 "Gold Master" version, both pretty late in their release cycle, so I think that's not something that will be fixed on Apple's part.
Also the CodeLLDB extension doesn't have the problem.
Same problem.
Just spent the last hour banging my head against the table trying to figure out what I was doing wrong and then I find this issue!
So add me to the list of effected users.
I'm on Catalina, VSCode 1.38.1, C/C++ extension 0.26.0-insiders2, Xcode 11 so all the default Apple clang, lldb, etc.
This is an issue with the lldb-mi that the extension ships with.
A temporary work around would to be set your miDebuggerPath in your launch.json to /Applications/Xcode.app/Contents/Developer/usr/bin/lldb-mi
This workaround may have issues with debugging since there is a difference in the version cpptools extension releases and the version in Xcode.
@WardenGnaw Unable to start debugging. The value of miDebuggerPath is invalid.
Also seeing this. macOS Catalina and I need to install CodeLLDB extension to get things working.
@WardenGnaw Thx for solution! It's work for me.
@WardenGnaw no luck with work around, error like @hologerry have.
But I'v try to find some valid path using sudo find / -name lldb-mi have same error or:
MI: Error: Driver. LLDB Debugger.
MI: Error: Driver Manager. Driver 'Machine Interface Driver Version: 1.0.0.9' (ID:'MIDriver') initialise failed. Driver. LLDB Debugger.
paths:
/System/Volumes/Data/usr/local/Cellar/llvm/9.0.0/bin/lldb-mi
/System/Volumes/Data/usr/local/Cellar/llvm/9.0.0/Toolchains/LLVM9.0.0.xctoolchain/usr/bin/lldb-mi
/System/Volumes/Data/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B3BD129E-091A-4FEA-B2BC-7AB0DBF98E9D.activeSandbox/Root/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-mi
/System/Volumes/Data/Users/solid/.vscode/extensions/ms-vscode.cpptools-0.26.0-insiders3/debugAdapters/lldb/bin/lldb-mi
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B3BD129E-091A-4FEA-B2BC-7AB0DBF98E9D.activeSandbox/Root/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-mi
/Users/solid/.vscode/extensions/ms-vscode.cpptools-0.26.0-insiders3/debugAdapters/lldb/bin/lldb-mi
@hologerry @WardenGnaw The workaround does not work for me either, there's no lldb-mi file anywhere in the Xcode11 application directory (only lldb). I guess Xcode11 removed lldb-mi.
The CodeLLDB extension will get this working. @floooh @liquid245 Try this.
I have the CodeLLDB extension installed and do indeed use this as a workaround for debugging, but I don't understand how it makes the proposed workaround for the C/C++ extension work (I can't find a lldb-mi file in the CodeLLDB's extension directory either).
@floooh
With CodeLLDB, no need for lldb-mi any more, just config the launch.json as the repo's readme says.
@WardenGnaw My (clean) install of Catalina with Xcode only has lldb not lldb-mi