dape icon indicating copy to clipboard operation
dape copied to clipboard

[PHP/xdbug] Trying to set a breakpoint throws an error

Open rochgs opened this issue 8 months ago • 1 comments

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.

rochgs avatar Apr 15 '25 11:04 rochgs

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?

svaante avatar Apr 20 '25 12:04 svaante

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:

Image

rochgs avatar May 12 '25 09:05 rochgs

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 avatar May 16 '25 07:05 svaante

@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 ❤

rochgs avatar May 16 '25 07:05 rochgs