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

Function CmdWatchEnable

source/Debugger/Debug.cpp:7454–7465  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

7452
7453//===========================================================================
7454Update_t CmdWatchEnable (int nArgs)
7455{
7456 if (! g_nWatches)
7457 return ConsoleDisplayError("There are no watches defined.");
7458
7459 if (!nArgs)
7460 return Help_Arg_1( CMD_WATCH_ENABLE );
7461
7462 _BWZ_EnableDisableViaArgs( nArgs, g_aWatches, MAX_WATCHES, true );
7463
7464 return UPDATE_WATCH;
7465}
7466
7467//===========================================================================
7468Update_t CmdWatchList (int nArgs)

Callers

nothing calls this directly

Calls 3

ConsoleDisplayErrorFunction · 0.85
Help_Arg_1Function · 0.85

Tested by

no test coverage detected