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

Function CmdConfigGetDebugDir

source/Debugger/Debug.cpp:4402–4411  ·  view source on GitHub ↗

"PWD" ===========================================================================

Source from the content-addressed store, hash-verified

4400// "PWD"
4401//===========================================================================
4402Update_t CmdConfigGetDebugDir (int nArgs)
4403{
4404 if ( nArgs != 0 )
4405 return Help_Arg_1( CMD_CONFIG_GET_DEBUG_DIR );
4406
4407 // TODO: debugger dir has no ` CONSOLE_COLOR_ESCAPE_CHAR ?!?!
4408 ConsoleBufferPushFormat( "Path: %s", g_sCurrentDir.c_str() );
4409
4410 return ConsoleUpdate();
4411}
4412
4413// Usage:
4414// CD "<dir>"

Callers 2

CmdConfigSetDebugDirFunction · 0.85
CmdMemoryLoadFunction · 0.85

Calls 3

Help_Arg_1Function · 0.85
ConsoleBufferPushFormatFunction · 0.85
ConsoleUpdateFunction · 0.70

Tested by

no test coverage detected