move the debug break before the cache dump occurs
so that a debugger will be signalled faster when
a panic condition occurs.
Change-Id: I25634616e85f036d019e4d932074e52157570087
Reviewed-on: http://gerrit.openafs.org/3147
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
afsd_printStack(GetCurrentThread(), &context);
}
+#ifdef DEBUG
+ if (IsDebuggerPresent())
+ DebugBreak();
+#endif
+
afsi_log("--- begin dump ---");
cm_MemDumpDirStats(afsi_file, "a", 0);
cm_MemDumpBPlusStats(afsi_file, "a", 0);
rx_DumpCalls(afsi_file, "a");
afsi_log("--- end dump ---");
-#ifdef DEBUG
- if (IsDebuggerPresent())
- DebugBreak();
-#endif
-
GenerateMiniDump(NULL);
SetEvent(WaitToTerminate);