===========================================================================
| 8946 | |
| 8947 | //=========================================================================== |
| 8948 | void DebugExitDebugger () |
| 8949 | { |
| 8950 | ClearTempBreakpoints(); // make sure we remove temp breakpoints before checking |
| 8951 | if (g_nBreakpoints == 0 && g_hTraceFile == NULL) |
| 8952 | { |
| 8953 | DebugEnd(); |
| 8954 | return; |
| 8955 | } |
| 8956 | |
| 8957 | // Still have some BPs set or tracing to file, so continue single-stepping |
| 8958 | |
| 8959 | if (!g_bLastGoCmdWasFullSpeed) |
| 8960 | CmdGoNormalSpeed(0); |
| 8961 | else |
| 8962 | CmdGoFullSpeed(0); |
| 8963 | } |
| 8964 | |
| 8965 | //=========================================================================== |
| 8966 |
no test coverage detected