Skip to content

.NET Core apps don't break on unhandled exceptions #5886

@schellap

Description

@schellap

From @danroth27

Repro steps

  • I tried the latest ASP.NET Core dogfood tooling build with the .NET Core tools.
  • I create a .NET Core Console App
  • Add “throw new ArgumentException();” in the Main method
  • Hit F5

Expected:

  • Break on unhandled exception

Actual:

  • App just dies. I see the following in the output window:

Exception thrown: 'System.ArgumentException' in ConsoleApp1.dll
The program '[8412] dotnet.exe: Program Trace' has exited with code 0 (0x0).
The program '[8412] dotnet.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

Product Information:

Version: 1.0.0-rc2-002426
Commit Sha: 08ee6de

Runtime Environment:

OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions