You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(use-package dap-mode
:config
(require'dap-lldb)
(require'dap-gdb-lldb)
(dap-gdb-lldb-setup)
(dap-register-debug-template
"Mac lldb-vscode"
(list:type"lldb-vscode":request"launch":name"lldb-vscode::run":externalConsole"true"))
(dap-register-debug-template "Rust::LLDB Run Configuration"
(list:type"lldb-vscode":request"launch":name"LLDB::Run":lldbpath"rust-lldb":targetnil:cwdnil))
(with-eval-after-load'dap-mode
(setq dap-lldb-debug-program '("/run/current-system/sw/bin/lldb-vscode"))
(setq dap-default-terminal-kind "integrated") ;; Make sure that terminal programs open a term for I/O in an Emacs buffer
(dap-auto-configure-mode +1))
)
When I actually try to run dap-debug, I'm always getting:
⛔ Warning (emacs): Initialize request failed: Could not create a target for a program '/Users/yuri/projetos/hello/hello.cpp': '/Users/yuri/projetos/hello/hello.cpp' doesn't contain any 'host' platform architectures: arm64, armv7, armv7f, armv7k, armv7s, armv7m, armv7em, armv6m, armv6, armv5, armv4, arm, thumbv7, thumbv7k, thumbv7s, thumbv7f, thumbv7m, thumbv7em, thumbv6m, thumbv6, thumbv5, thumbv4t, thumb, x86_64, x86_64, arm64, arm64e, arm64, arm64e.
I'm not sure whether that's a bug in dap-mode, if I'm configuring anything wrong (though this configuration works on my colleague's x86 linux machine), or if I'm missing anything else. But I felt I should post it as an issue.
The text was updated successfully, but these errors were encountered:
This is my configuration:
When I actually try to run dap-debug, I'm always getting:
⛔ Warning (emacs): Initialize request failed: Could not create a target for a program '/Users/yuri/projetos/hello/hello.cpp': '/Users/yuri/projetos/hello/hello.cpp' doesn't contain any 'host' platform architectures: arm64, armv7, armv7f, armv7k, armv7s, armv7m, armv7em, armv6m, armv6, armv5, armv4, arm, thumbv7, thumbv7k, thumbv7s, thumbv7f, thumbv7m, thumbv7em, thumbv6m, thumbv6, thumbv5, thumbv4t, thumb, x86_64, x86_64, arm64, arm64e, arm64, arm64e.
I'm not sure whether that's a bug in dap-mode, if I'm configuring anything wrong (though this configuration works on my colleague's x86 linux machine), or if I'm missing anything else. But I felt I should post it as an issue.
The text was updated successfully, but these errors were encountered: