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

0

Your Answer

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

Browse other questions tagged or ask your own question.