I just downloaded UWP/.NET to run some project I found of github.
private void OnLoaded(object sender, RoutedEventArgs e)
{
var button = null as Button;
var b = button.CommandParameter;
//throw new InvalidOperationException("Testing");
}
Throwing the exception breaks the program as expected. However, the null access crashes the app and the only debug output message I get is
The program '[12036] eReader.exe' has exited with code 2148734499 (0x80131623).
According to hresult.info 0x80131623 is Runtime operation halted by call to System.Environment.FailFast().
However, the original error that was crashing the app from a call to StorageFile.CopyAsync
has now gone away, so I can no longer test the debugging configuration.