I am writing negative tests for my CI and I have one which aborts the process by dereferencing a null pointer. Now for this situation I expect an exit code of -1073741819 but when I have JIT debugger running it ends up returning an exit code of 0.
If there a way to get JIT to pass through the actually code that occured when the process terminated or does it always default to returning 0?