MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CmdTrace

Function CmdTrace

source/Debugger/Debug.cpp:2673–2684  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

2671
2672//===========================================================================
2673Update_t CmdTrace (int nArgs)
2674{
2675 g_nDebugSteps = nArgs ? g_aArgs[1].nValue : 1;
2676 g_nDebugStepCycles = 0;
2677 g_nDebugStepStart = regs.pc;
2678 g_nDebugStepUntil = -1;
2679
2680 DebugEnterStepping();
2681 DebugContinueStepping(true);
2682
2683 return UPDATE_ALL; // TODO: Verify // 0
2684}
2685
2686//===========================================================================
2687Update_t CmdTraceFile (int nArgs)

Callers 2

CmdStepOverFunction · 0.85
DebuggerProcessKeyFunction · 0.85

Calls 2

DebugEnterSteppingFunction · 0.85
DebugContinueSteppingFunction · 0.85

Tested by

no test coverage detected