Break into debugger on assertion failures (dotnet/coreclr#19702)
authorJan Kotas <jkotas@microsoft.com>
Tue, 28 Aug 2018 22:04:04 +0000 (15:04 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Aug 2018 22:04:04 +0000 (15:04 -0700)
commit0c797b361e4ede5e7b8e95a9fcc45b4863f5aaf5
treed10ef376cfcaf1fddd68e171d085bb54a1752015
parent9f0fe61d76c833a8b78e48931688be158fe03ba2
Break into debugger on assertion failures (dotnet/coreclr#19702)

* Break into debugger on assertion failures

Assertion failures terminated the process by default that made them hard to debug. Changed them to
break into debugger or trigger fail fast when the debugger is not attached. This should make the day-to-day
CoreCLR developer experience better and it is simular to what we had on .NET Framework in the past.

* Fix Unix build break

Add RaiseFailFastException to Unix PAL

Commit migrated from https://github.com/dotnet/coreclr/commit/5e83757c500f9c26cac8da254e0fe9e3a7580390
src/coreclr/src/dlls/mscordac/mscordac_unixexports.src
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/src/thread/process.cpp
src/coreclr/src/utilcode/debug.cpp
src/coreclr/src/vm/excep.cpp
src/coreclr/src/vm/excep.h