diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-10-06 23:02:57 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-10-06 23:02:57 -0400 |
| commit | a49fcc782ad4e84ae68c69393604f2702da913b9 (patch) | |
| tree | 8795b5092bd594122fab905e45ed8b342a917cfc /.config/nvim/after/plugin/nvim-dap-lldb.lua | |
| parent | bb4010e31c79d2716098843f7fe9b38c969f0950 (diff) | |
Updated Neovim Config
Diffstat (limited to '.config/nvim/after/plugin/nvim-dap-lldb.lua')
| -rw-r--r-- | .config/nvim/after/plugin/nvim-dap-lldb.lua | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/.config/nvim/after/plugin/nvim-dap-lldb.lua b/.config/nvim/after/plugin/nvim-dap-lldb.lua deleted file mode 100644 index 7123093..0000000 --- a/.config/nvim/after/plugin/nvim-dap-lldb.lua +++ /dev/null @@ -1,35 +0,0 @@ -local dap = require('dap') -dap.adapters.lldb = { - type = 'executable', - command = os.getenv( "HOME" ) .. '/.local/share/nvim/mason/bin/codelldb', -- adjust as needed, must be absolute path - name = 'lldb' -} - -local dap = require('dap') -dap.configurations.c = { - { - name = 'Launch', - type = 'lldb', - request = 'launch', - program = function() - return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/build/', 'file') - end, - cwd = '${workspaceFolder}', - stopOnEntry = false, - args = {}, - - -- 💀 - -- if you change `runInTerminal` to true, you might need to change the yama/ptrace_scope setting: - -- - -- echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope - -- - -- Otherwise you might get the following error: - -- - -- Error on launch: Failed to attach to the target process - -- - -- But you should be aware of the implications: - -- https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html - -- runInTerminal = false, - }, -} -dap.configurations.cpp = dap.configurations.c |
