Break into debugger on assertion failures (#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)
commit5e83757c500f9c26cac8da254e0fe9e3a7580390
tree0dcb90e0290dea975a0dd05895a4483f825fd29a
parent1f5c48d10e97fb94aaf66efbfa1e989752a4ee02
Break into debugger on assertion failures (#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
src/dlls/mscordac/mscordac_unixexports.src
src/pal/inc/pal.h
src/pal/src/thread/process.cpp
src/utilcode/debug.cpp
src/vm/excep.cpp
src/vm/excep.h