Questions tagged [dap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

hydra, let all keys work but not allow insert (self-insert-command)

I am setting up hydra + dap. Although dap-hydra is provided, it messes up keybinding often times. Often, I forget the hydra window is open and type something and messes up typing. Furthermore, when ...
eugene's user avatar
  • 489
0 votes
0 answers
122 views

How to run JUnit tests with lsp-mode and dap-mode, without build tools like maven

I have a Guix profile in which I installed for a beginner's java class a java environment as minimal as possible: openjdk 17, java-junit (which is JUnit 4), emacs-lsp-java, and emacs-dap-mode. I ...
elyuku's user avatar
  • 67
1 vote
0 answers
104 views

emacs workspace/executeCommand with `vscode.java.resolveMainClass` failed

I'm trying to debug java in emacs.I'm running the command M-x dap-java-debug in emacs and I'm getting below error. emacs workspace/executeCommand with vscode.java.resolveMainClass failed. (error &...
Rajkumar Natarajan's user avatar
2 votes
0 answers
146 views

dap-mode: Initialize request failed: "program" property is required for launch

I am trying to use LLDB to debug my rust code. To edit the code, I use rustic-mode with lsp-mode, and to perform debugging I am trying to use dap-mode. Currently, this is how I initialize dap-mode in ...
Dizzar's user avatar
  • 21
0 votes
1 answer
172 views

Installing `lsp-mode` and `dap-mode` from melpa

When I install lsp-mode from Melpa, I get version 20221003.1714. When I install dap-mode from Melpa, I get version 20220921.941, which requires lsp-mode-6.0. As a result, (require 'dap-mode) fails: ...
Troy Daniels's user avatar
1 vote
1 answer
1k views

Problem debugging on dap-mode

I am new to emacs and I was following this tutorial to configure lsp-mode: https://emacs-lsp.github.io/lsp-mode/tutorials/CPP-guide/ But dap-debug does not work. Everytime I try to debug, it doesn't ...
XStein17's user avatar
0 votes
1 answer
40 views

dap-mode exists instead of breaking on crash

When running applications in dap-mode using M-x dap-debug, I can get my applications running via GDBServer Connect Configuration & GDB Run Configuration. However when the application crashes I ...
ideasman42's user avatar
  • 8,556