7

I want to use dap-mode to debug a C++ code. Until now I followed instructions dap-mode (LLDB) and lldb-vscode. I further enabled the mode and UI via

(dap-mode 1)
(dap-ui-mode 1)

When I execute dap-debug I can select the LLDB template, but when executing I get the following message:

No messages handler for process

I tried to tweak the template file via dap-debug-edit-template. The current template has the following form:

(dap-register-debug-template "LLDB::Run"
  (list :type "lldb"
        :cwd "/Users/knowledge/Developer/Tutorials/Cpp"
        :request "launch"
        :program "/Users/knowledge/Developer/Tutorials/Cpp/Debug/main"
        :name "LLDB::Run"))

How can I get this running?

3
  • could you be missing lsp-server ?
    – apmattil
    Jan 12, 2020 at 20:19
  • Did you try the type as "lldb-vscode"? I saw all templates uses that.
    – Jeff
    Jul 3, 2020 at 15:31
  • Did you get anywhere with this?
    – RichieHH
    Jun 8, 2021 at 19:53

1 Answer 1

0

I have the same issue until I set a breakpoint. After breakpoint debugging is start successfully and execution stops on breakpoint

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.