|
@@ -25,15 +25,26 @@
|
25
|
25
|
"svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd",
|
26
|
26
|
},
|
27
|
27
|
{
|
28
|
|
- "name": "Debug Sim",
|
|
28
|
+ "name": "Launch Sim (ggdb)",
|
29
|
29
|
"request": "launch",
|
30
|
30
|
"type": "cppdbg",
|
31
|
31
|
"cwd": "${workspaceRoot}",
|
|
32
|
+ "program": ".pio/build/simulator_macos_debug/debug/MarlinSimulator",
|
32
|
33
|
//"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
|
33
|
34
|
//"program": ".pio/build/simulator_windows/MarlinSimulator",
|
34
|
|
- "program": ".pio/build/simulator_macos_debug/MarlinSimulator",
|
35
|
35
|
"miDebuggerPath": "/opt/local/bin/ggdb",
|
36
|
36
|
"MIMode": "gdb"
|
|
37
|
+ },
|
|
38
|
+ {
|
|
39
|
+ "name": "Launch Sim (lldb)",
|
|
40
|
+ "request": "launch",
|
|
41
|
+ "type": "cppdbg",
|
|
42
|
+ "cwd": "${workspaceRoot}",
|
|
43
|
+ "program": ".pio/build/simulator_macos_debug/debug/MarlinSimulator",
|
|
44
|
+ //"program": ".pio/build/simulator_linux_debug/MarlinSimulator",
|
|
45
|
+ //"program": ".pio/build/simulator_windows/MarlinSimulator",
|
|
46
|
+ //"targetArchitecture": "arm64",
|
|
47
|
+ "MIMode": "lldb"
|
37
|
48
|
}
|
38
|
49
|
]
|
39
|
50
|
}
|