From cdcc709d70755f6695aea17871d85b1adbcf5a64 Mon Sep 17 00:00:00 2001 From: Paul Pan Date: Sun, 19 May 2024 21:50:13 +0800 Subject: [PATCH] chore: force vscode cppdbg to use full path when setting breakpoint --- .vscode/launch.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index ec68f01..6062113 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -19,7 +19,13 @@ { "text": "set output-radix 16" } - ] + ], + "sourceFileMap": { + "${workspaceFolder}": { + "editorPath": "${workspaceFolder}", + "useForBreakpoints": true + } + } }, { "name": "Debug Kernel", @@ -39,7 +45,13 @@ { "text": "set output-radix 16" } - ] + ], + "sourceFileMap": { + "${workspaceFolder}": { + "editorPath": "${workspaceFolder}", + "useForBreakpoints": true + } + } }, ] } \ No newline at end of file