I can't find the option in JetBrains Project Rider to "Break on Exception". Where I would normally add an exception breakpoint in IntelliJ, I see this:
Line breakpointsPress F9 . In the main menu, choose Run | Toggle Line Breakpoint.
With a solution open in Visual Studio, use Debug > Windows > Exception Settings to open the Exception Settings window. Provide handlers that respond to the most important exceptions.
Use JetBrains Rider as the default JIT debuggerPress Ctrl+Alt+S or alternatively select File | Settings from the main menu, then choose Build, Execution, Deployment | Debugger on the left. Click Set rider as default debugger. When JetBrains Rider is set as the default JIT debugger and a process calls Debugger.
Breakpoints are special markers that suspend program execution at a specific point. This lets you examine the program state and behavior.
There are two ways to do this.
Go to Run | View Breakpoints.... Click the green +
icon. Select Stop on all .NET exceptions.
You can then modify the breakpoint:
Either use:
+
icon. Select .NET exception breakpoints.Either approach will give you the following UI where you can search for an exception type:
To manage the settings, use the Breakpoints dialog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With