[PHP/xdbug] Trying to set a breakpoint throws an error
Hello.
The package is really cool and it works quite well, congratulations.
However, I am having trouble setting breakpoints. Using C-x C-a b throws this message:
dape--breakpoint-set-overlay: Wrong type argument: (or eieio-object class), #s(dape--breakpoint nil nil nil nil nil nil nil nil), obj
Of course, using M-x dape-breakpoint-toggle gets the same result:
helm-M-x-execute-command: Wrong type argument: (or eieio-object class), #s(dape--breakpoint nil nil nil nil nil nil nil nil), obj
I have been able to work with breakpoints set using xdebug-break();.
Any ideas?
Thank you.
Hey and thank you for the bug report.
What version of dape and Emacs are you using, and does M-x package-recompile dape fix the issue?
Hello @svaante. Thank you for your time.
What version of dape and Emacs are you using?
- Emacs:
GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2025-02-27, modified by Debian - Dape: 0.24.1.
does M-x package-recompile dape fix the issue?
I don't have M-x package recompile. I used straight-pull-package and straight-rebuild-package. I got a bunch of warnings but, other that that, compilation was successful. However, the problem persists:
Hey! dape does not support Emacs versions older then 29.1. I would suggest you upgrade Emacs, lots of nice things has been introduces since 28.3 :)
@svaante, I don't like to be "outside" of Debian stable package repos, although this is a strong case for doing it. I will consider it. Thank you very much for your time ❤