From f86f306f9760d0ced372a9c42724d1399b66aef0 Mon Sep 17 00:00:00 2001 From: Jackson R Date: Tue, 21 May 2024 00:26:23 +0530 Subject: [PATCH] feat(launch): configure launch.json to use LLDB in macOS and gdb in linux/Windows (#41) --- simulator.code-workspace | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/simulator.code-workspace b/simulator.code-workspace index 7ffd7d07..830a78e6 100644 --- a/simulator.code-workspace +++ b/simulator.code-workspace @@ -77,6 +77,17 @@ "cwd": "${workspaceFolder}", "preLaunchTask": "Build", "stopAtEntry": false, + "linux": { + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb" + }, + "osx": { + "MIMode": "lldb" + }, + "windows": { + "MIMode": "gdb", + "miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe" + } }, { "name": "Debug LVGL demo with LLVM", @@ -87,6 +98,7 @@ "cwd": "${workspaceFolder}", "preLaunchTask": "Build", "stopAtEntry": false, + "MIMode": "lldb" }, ], },