MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ~ConsoleDebugger

Method ~ConsoleDebugger

src/drivers/Qt/ConsoleDebugger.cpp:229–266  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

227}
228//----------------------------------------------------------------------------
229ConsoleDebugger::~ConsoleDebugger(void)
230{
231 std::list <ConsoleDebugger*>::iterator it;
232
233 //printf("Destroy Debugger Window\n");
234 periodicTimer->stop();
235
236 saveDisplayViews();
237
238 if (startedTraceLogger && FCEUD_TraceLoggerRunning() )
239 {
240 FCEUD_TraceLoggerStop();
241 startedTraceLogger = false;
242 }
243
244 if ( dbgWin == this )
245 {
246 dbgWin = NULL;
247 }
248
249 if ( dbgWin == NULL )
250 {
251 saveGameDebugBreakpoints();
252 debuggerClearAllBreakpoints();
253 debuggerClearAllBookmarks();
254
255 if ( waitingAtBp )
256 {
257 FCEUI_SetEmulationPaused(0);
258 }
259
260 break_on_cycles = false;
261 break_on_instructions = false;
262 break_on_unlogged_code = false;
263 break_on_unlogged_data = false;
264 FCEUI_Debugger().badopbreak = false;
265 }
266}
267//----------------------------------------------------------------------------
268void ConsoleDebugger::closeEvent(QCloseEvent *event)
269{

Callers

nothing calls this directly

Calls 6

FCEUD_TraceLoggerRunningFunction · 0.85
FCEUD_TraceLoggerStopFunction · 0.85
saveGameDebugBreakpointsFunction · 0.85
FCEUI_SetEmulationPausedFunction · 0.85

Tested by

no test coverage detected