microsoft / vscode-mono-debug

A simple VS Code debug adapter for mono
Other
159 stars 173 forks source link

Fix/Implement Pause On Exceptions #89

Closed thaystg closed 1 year ago

thaystg commented 1 year ago

With this implementation the user can set the exceptions behavior in this checkbox, similar to what they have when debugging on coreclr. image

Also it's possible to add set list of exceptions that you want to pause: image

Also fixed in this PR: 'workbench.customDebugRequest' that doesn't exist anymore, as it's documented here: https://code.visualstudio.com/updates/v1_18#_debug-api-updates

The old way of setting exceptions is still working, but it only works when the debugger is already running and you set the exception, this is another reason that we decide to support exceptions from DAP.