Replies: 2 comments
-
VSCode will remember the state of exception breakpoints across debug runs. Don't know about NeoVim, this is not a setup I support. That said, CodeLLDB tags exception breakpoints with the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot for your prompt response! This fixed my issue :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using latest stable version of NeoVim (0.9) along with latest stable version of codelldb (v.1.9.0) installed through Mason.
When running through a typical C++ debug session it chokes on some exceptions thrown through an external library which we have no control on.
I noticed in dap-repl .capability settings that it loads with the following settings -
exceptionBreakpointFilters = { {
default = true,
filter = "cpp_throw",
label = "C++: on throw"
}, {
default = false,
filter = "cpp_catch",
label = "C++: on catch"
} },
I cant seem to figure out how to launch it with default set to false for cpp_throw. Before/After it is launched I have tried -
require('dap').set_exception_breakpoints({})
but that has no effect. For now I have to manually remove the exception breakpoints by hand everytime after the first one is hit which is super annoying.
Any ideas on how to launch it without the exception breakpoints?
Beta Was this translation helpful? Give feedback.
All reactions