🧑💻 Add Sim debug with lldb
This commit is contained in:
parent
678474d55c
commit
7207a32434
@ -25,15 +25,26 @@
|
|||||||
"svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd",
|
"svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug Sim",
|
"name": "Launch Sim (ggdb)",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
|
"program": ".pio/build/simulator_macos_debug/debug/MarlinSimulator",
|
||||||
//"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
|
//"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
|
||||||
//"program": ".pio/build/simulator_windows/MarlinSimulator",
|
//"program": ".pio/build/simulator_windows/MarlinSimulator",
|
||||||
"program": ".pio/build/simulator_macos_debug/MarlinSimulator",
|
|
||||||
"miDebuggerPath": "/opt/local/bin/ggdb",
|
"miDebuggerPath": "/opt/local/bin/ggdb",
|
||||||
"MIMode": "gdb"
|
"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…
Reference in New Issue
Block a user