debugger fix, treesitter bindings, rosepine notify fix
This commit is contained in:
1 parent
e079c87128
commit
79f7d5801c
3 files changed
+47
-5
No files matched your search
@@ -170,7 +170,10 @@ return {
|
||||
executable = {
|
||||
command = codelldb_path,
|
||||
args = {"--port", "${port}"},
|
||||
detached = false,
|
||||
-- Keep the spawned server (and any inferior it launches) off
|
||||
-- Neovim's console group so terminating a session can't take
|
||||
-- Neovim down on Windows. Matches the cppvsdbg adapter above.
|
||||
detached = true,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,14 +190,26 @@ return {
|
||||
},
|
||||
}
|
||||
|
||||
-- Route MSVC `cppvsdbg` launch configs (as VS/msbuild launch.json
|
||||
-- generates) to codelldb. We deliberately do NOT use Microsoft's vsdbg:
|
||||
-- its license permits use only within Visual Studio / VS Code. codelldb
|
||||
-- is LLVM/LLDB-based (Apache-2.0) and has a native PDB reader, so it can
|
||||
-- debug MSVC/msbuild binaries without that restriction.
|
||||
--
|
||||
-- codelldb is a TCP `server` adapter, so terminating/disconnecting
|
||||
-- talks over a socket and can't broadcast a console CTRL event to
|
||||
-- Neovim the way the gdb-backed cppdbg path does. detached=true keeps
|
||||
-- the spawned server (and the inferior it launches) off Neovim's
|
||||
-- console group too -- the original `detached = false` is what still
|
||||
-- let a disconnect take Neovim down.
|
||||
dap.adapters.cppvsdbg = {
|
||||
type = 'server',
|
||||
type = "server",
|
||||
port = "${port}",
|
||||
executable = {
|
||||
command = codelldb_path,
|
||||
args = {"--port", "${port}"},
|
||||
detached = false,
|
||||
}
|
||||
args = { "--port", "${port}" },
|
||||
detached = true,
|
||||
},
|
||||
}
|
||||
|
||||
-- 3. Platform-agnostic Launcher Configuration
|
||||
|
||||
Reference in new issue
Block a user