-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
Severity 2The plugin or a workflow is inconvenient or occasionally brokenThe plugin or a workflow is inconvenient or occasionally brokenbugSomething isn't workingSomething isn't working
Description
Is your feature request related to a problem? Please describe.
I can't get exception breakpoints to work with C# netcoredbg.
Regular breakpoints are working just fine.
Describe the solution you'd like
When an exception occurs, I would like vimspector to break on the offending line.
Describe alternatives you've considered
Additional context
This is my .vimspector.json
config file:
{
"configurations": {
"local-test": {
"adapter": "netcoredbg",
"variables": {
"PID": {
"shell": "bash -c 'pgrep dotnet | tail -n 1'"
}
},
"default": true,
"configuration": {
"request": "attach",
"processId": "${PID}"
},
"breakpoints": {
"exception": {
"user-unhandled": "Y"
}
}
}
}
}
When I run :VimspectorDebugInfo
, I get:
--------------------------------------------------------------------------------
Server Capabilities:
--------------------------------------------------------------------------------
{
"exceptionBreakpointFilters": [
{
"filter": "user-unhandled",
"label": "user-unhandled"
},
{
"filter": "all",
"label": "all"
}
],
"supportTerminateDebuggee": true,
"supportsCancelRequest": true,
"supportsConditionalBreakpoints": true,
"supportsConfigurationDoneRequest": true,
"supportsExceptionFilterOptions": true,
"supportsExceptionInfoRequest": true,
"supportsExceptionOptions": false,
"supportsFunctionBreakpoints": true,
"supportsSetExpression": true,
"supportsSetVariable": true,
"supportsTerminateRequest": true
}
--------------------------------------------------------------------------------
Line Breakpoints:
--------------------------------------------------------------------------------
{}
--------------------------------------------------------------------------------
Func Breakpoints:
--------------------------------------------------------------------------------
[]
--------------------------------------------------------------------------------
Ex Breakpoints:
--------------------------------------------------------------------------------
{
"filters": []
}
--------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
Severity 2The plugin or a workflow is inconvenient or occasionally brokenThe plugin or a workflow is inconvenient or occasionally brokenbugSomething isn't workingSomething isn't working