Browse Source

🧑‍💻 Add Sim debug with lldb

FB4S_WIFI
Scott Lahteine 2 years ago
parent
commit
7207a32434
  1. 15
      buildroot/share/PlatformIO/debugging/launch.json

15
buildroot/share/PlatformIO/debugging/launch.json

@ -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"
}
]
}

Loading…
Cancel
Save