Closed Dickby closed 11 months ago
Hi
The codelldb :cwd "/path/to/project/" :program "path/to/project/file"
in the minibuffer is by design but the error is not.
It's designed that way to be able to re-run the last debug session without much effort.
Could you enable debug on error with M-x toggle-debug-on-error
and then show the the stack trace in the *Backtrace*
buffer?
It's not really an error so debug-on-error doesn't do anything, the message is temporarily displayed behind the command in the minibuffer when pressing enter
Which version of emacs do you use? M-x emacs-version
GNU Emacs 30.0.50 (build 36, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-09
It was releated to changes in emacs 30 could you please verify that it works
Works! Thanks a lot!
If i use dape with codelldb, the first time it prompts for an adapter and i type
codelldb
, the next prompt is for the file.If used the second time the adapter prompt is prefilled with:
codelldb :cwd "/path/to/project/" :program "path/to/project/file"
pressing enter gives the error message
[Trailing garbage following expression]
, to use dape i have to manually get rid of that garbage.