Open mikeboiko opened 7 months ago
steps to repro:
void PrintToast( int r ) {
int this_round = ( max_bread - bread - r);
if (this_round % 3 == 0) {
throw new Exception( "No moar bread!" );
}
Console.WriteLine( this.toaster + ": " + this_round );
}
support/test/csharp/.vimspector.json
and remove all breakpoints
blocksexpect: you are asked to set breakpoint options "user-unhandled" and "all"
actual: nothin. the adapter breaks on exception, but you didn't get to control the behaviour.
Explanation:
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:When I run
:VimspectorDebugInfo
, I get: