🧑‍💻 Add Sim debug with lldb

This commit is contained in:
Scott Lahteine 2022-07-10 22:00:10 -05:00
parent 678474d55c
commit 7207a32434

View File

@ -25,15 +25,26 @@
"svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd",
},
{
"name": "Debug Sim",
"name": "Launch Sim (ggdb)",
"request": "launch",
"type": "cppdbg",
"cwd": "${workspaceRoot}",
"program": ".pio/build/simulator_macos_debug/debug/MarlinSimulator",
//"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
//"program": ".pio/build/simulator_windows/MarlinSimulator",
"program": ".pio/build/simulator_macos_debug/MarlinSimulator",
"miDebuggerPath": "/opt/local/bin/ggdb",
"MIMode": "gdb"
},
{
"name": "Launch Sim (lldb)",
"request": "launch",
"type": "cppdbg",
"cwd": "${workspaceRoot}",
"program": ".pio/build/simulator_macos_debug/debug/MarlinSimulator",
//"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
//"program": ".pio/build/simulator_windows/MarlinSimulator",
//"targetArchitecture": "arm64",
"MIMode": "lldb"
}
]
}