Skip to content

Commit 11b7446

Browse files
committed
Add explanation of new debugger break-on-exception behavior to README
1 parent 60a1e58 commit 11b7446

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Template project for solving Advent of Code in C#, running on [.NET 5.0](https:/
1111
- [Generating Previous Year's Solution Files](#generating-previous-years-solution-files)
1212
- [Using a Solution's Constructor](#using-a-solutions-constructor)
1313
- [Using .NET Core](#using-net-core)
14+
- [Automatic Debugger Break On Exception](#automatic-debugger-break-on-exception)
1415
- [Contributing](#contributing)
1516
- [License](#license)
1617

@@ -107,6 +108,8 @@ Simply swap out the target framework in `AdventOfCode.csproj`.
107108
+ <TargetFramework>netcoreapp3.1</TargetFramework>
108109
```
109110

111+
### Automatic Debugger Break On Exception
112+
When running your Solutions with a Debugger attached e.g. [VSCode](https://code.visualstudio.com/docs/editor/debugging) or [Visual Studio](https://docs.microsoft.com/en-us/visualstudio/debugger/quickstart-debug-with-managed?view=vs-2019) the ASolution base class will try to pause/break the debugger when there is an uncaught Exception thrown by your solution part. This allows for inspection with the debugger without having to specifically set-up additional exception handling within the debugger or your solution.
110113

111114
## Contributing
112115
Sure! Fork the project, make your changes, and create a pull request. Submitted issues and pull requests are quite welcome.

0 commit comments

Comments
 (0)