diff --git a/std/os/index.zig b/std/os/index.zig index be96f7f7761e440be45cdd2e4b7136080917cb3e..e31abaf6291435f886b026de31bdfc8e7800070e 100644 --- a/std/os/index.zig +++ b/std/os/index.zig @@ -109,7 +109,10 @@ pub coldcc fn abort() -> noreturn { while (true) {} }, Os.windows => { - windows.ExitProcess(1); + if (builtin.mode == builtin.Mode.Debug) { + @breakpoint(); + } + windows.ExitProcess(3); }, else => @compileError("Unsupported OS"), }