-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I'm trying to set a debug configuration for my c++ project, but whatever I do it doesn't work, when I run M-x dape I'm prompted with
Run adapter: :type
---
gdb :request
launch :name
run with gdb :program
/path/to/build/app :cwd
/path/to/build :args
nil nil
I've put this in my init.el, but the result is the same if I put it .dir-locals.el
(setq dape-configs
(list
(list
:type "gdb"
:request "launch"
:name "Run with gdb"
:program "/full/path/to/your/build/funilib-test-app"
:cwd "/full/path/to/your/build"
:args nil))
)
I also tried variations like
(
(c-mode
. ((dape-configs
. ((:type "gdb"
:request "launch"
:name "Run with gdb"
:program "${workspaceFolder}/build/funilib-test-app"
:cwd "${workspaceFolder}"
:args ())))))
(c++-mode
. ((dape-configs
. ((:type "gdb"
:request "launch"
:name "Run with gdb"
:program "${workspaceFolder}/build/funilib-test-app"
:cwd "${workspaceFolder}"
:args ())))))
)
Still the same issue.
As it is the package is unusable, can someone please tell me what to do to configure dape for debugging?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels