feat(nvim): limited debug support for asm
This commit is contained in:
parent
11a3cc3dec
commit
5aa604fbfc
@ -12,8 +12,12 @@ end
|
|||||||
local lldb_path = get_program_path("codelldb")
|
local lldb_path = get_program_path("codelldb")
|
||||||
-- Adapaters
|
-- Adapaters
|
||||||
dap.adapters.lldb = {
|
dap.adapters.lldb = {
|
||||||
type = "executable",
|
type = "server",
|
||||||
command = lldb_path,
|
port = "${port}",
|
||||||
|
executable = {
|
||||||
|
command = lldb_path,
|
||||||
|
args = { "--port", "${port}" },
|
||||||
|
},
|
||||||
name = "lldb",
|
name = "lldb",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -40,7 +44,6 @@ dap.configurations.cpp = {
|
|||||||
end,
|
end,
|
||||||
cwd = "${workspaceFolder}",
|
cwd = "${workspaceFolder}",
|
||||||
stopOnEntry = false,
|
stopOnEntry = false,
|
||||||
targetArchitecture = "arm64",
|
|
||||||
args = {},
|
args = {},
|
||||||
|
|
||||||
-- if you change `runInTerminal` to true, you might need to change the yama/ptrace_scope setting:
|
-- if you change `runInTerminal` to true, you might need to change the yama/ptrace_scope setting:
|
||||||
@ -58,6 +61,7 @@ dap.configurations.cpp = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dap.configurations.c = dap.configurations.cpp
|
dap.configurations.c = dap.configurations.cpp
|
||||||
|
dap.configurations.asm = dap.configurations.cpp
|
||||||
dap.configurations.rust = dap.configurations.cpp
|
dap.configurations.rust = dap.configurations.cpp
|
||||||
|
|
||||||
vim.g.dotnet_build_project = function()
|
vim.g.dotnet_build_project = function()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user