4

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?

  • could you be missing lsp-server ? – apmattil Jan 12 at 20:19
  • Did you try the type as "lldb-vscode"? I saw all templates uses that. – Jeff Jul 3 at 15:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.