Closed manuel-uberti closed 5 months ago
First of all thanks for the debug information.
It looks like everything works on your end.
"[jsonrpc] Server exited with status 0" means that the debugging adapter has quit, which is expected as your java program has finished it's execution.
What I recommend is setting the point (cursor) in your main function and C-x C-a b to setup a breakpoint (C-x C-a can be easily changed. See Readme)
If you prefer using the mouse you need to enable dape-breakpoint-global-mode
and setting an breakpoint by clicking in the left fringe.
(repeat-mode)
C-x C-a d n n n c (start debugging step three times then continue)Thank you so much for the kind explanation and the details. It works as expected indeed, and (repeat-mode)
makes it even more pleasant.
Hi,
first of all thanks for this package.
I am trying to start a debugging session on sample project just to understand how to move around dape. This is what I did from
emacs -Q
after installing date via withpackage-install
:M-x package-initialize
(with-eval-after-load 'eglot (push '((java-mode java-ts-mode) . mu-jdtls-setup) eglot-server-programs))
M-x dape
test: 1
*Messages*
:*EGLOT (test-java/(java-mode java-ts-mode)) events*
:I am using
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2024-03-13
built on commit4ac4cec652ffaca4333d8f297b8a6c0e5bd79c68
.If you need me to provide more details, let me know.