Skip to content

Commit 0bd1f5e

Browse files
committed
Fix windows path for cpptools
1 parent b8ec324 commit 0bd1f5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dap-cpptools.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444

4545
(defcustom dap-cpptools-debug-program
4646
`(,(concat dap-cpptools-debug-path
47-
(concat "/extension/debugAdapters/OpenDebugAD7"
48-
(if (eq system-type 'windows-nt) ".exe" ""))))
47+
(if (eq system-type 'windows-nt)
48+
"/extension/debugAdapters/bin/OpenDebugAD7.exe"
49+
"/extension/debugAdapters/OpenDebugAD7")))
4950
"The path to the go debugger."
5051
:group 'dap-cpptools
5152
:type '(repeat string))

0 commit comments

Comments
 (0)