Debugger cleanup misc march 2023 (#1199)

* Cleanup breakpoints

* Cleanup sections

* Tab cleanup
This commit is contained in:
Michael "Code Poet" Pohoreski
2023-03-26 11:31:15 -07:00
committed by GitHub
parent a5c5603749
commit 9a857183ba
2 changed files with 25 additions and 26 deletions
+11 -12
View File
@@ -181,7 +181,7 @@ void Help_Operators()
sText += g_aBreakpointSymbols[ iBreakOp ];
sText += ' ';
}
}
}
sText += CHC_DEFAULT;
ConsolePrint( sText.c_str() );
}
@@ -379,7 +379,7 @@ bool Colorize( char * pDst, size_t /*nDstSz*/, const char* pSrc)
{
*pDst = *pSrc;
pDst++;
pSrc++;
pSrc++;
}
}
*pDst = 0;
@@ -602,7 +602,7 @@ Update_t CmdHelpSpecific (int nArgs)
}
for (iArg = 1; iArg <= nArgs; iArg++ )
{
{
iCommand = 0;
nFound = 0;
@@ -726,7 +726,7 @@ Update_t CmdHelpSpecific (int nArgs)
ConsoleBufferPushFormat( "%s <-- Missing", pCommand->m_sName );
#if DEBUG_COMMAND_HELP
if (! bAllCommands) // Release version doesn't display message
{
{
ConsoleBufferPushFormat( "Missing Summary Help: %s", g_aCommands[ iCommand ].aName );
}
#endif
@@ -735,11 +735,11 @@ Update_t CmdHelpSpecific (int nArgs)
if (bCategory)
continue;
}
}
// MASTER HELP
switch (iCommand)
{
{
// CPU / General
case CMD_ASSEMBLE:
ConsoleColorizePrint( " Usage: [address | symbol]" );
@@ -1141,7 +1141,7 @@ Update_t CmdHelpSpecific (int nArgs)
ConsoleBufferPush( " Notes: If no filename specified, defaults to the last filename (if possible)" );
}
if (iCommand == CMD_MEMORY_SAVE)
{
{
ConsoleColorizePrint( " Usage: [\"Filename\"],[bank:]address,length" );
ConsoleColorizePrint( " Usage: [\"Filename\"],[bank:]range" );
Help_Range();
@@ -1285,7 +1285,7 @@ Update_t CmdHelpSpecific (int nArgs)
ConsoleColorizePrint( " Usage: symbol" );
ConsoleBufferPush( " Looks up symbol in all 3 symbol tables: main, user, source" );
break;
// Cycles
// Cycles
case CMD_CYCLES_INFO:
ConsoleColorizePrint(" Usage: <abs|rel|part>");
ConsoleBufferPush(" Where:");
@@ -1296,8 +1296,7 @@ Update_t CmdHelpSpecific (int nArgs)
case CMD_CYCLES_RESET:
ConsoleBufferPush(" Use in conjunctioned with 'cycles part' to reset to current instruction");
break;
// Video-Scanner
// Video-Scanner
case CMD_VIDEO_SCANNER_INFO:
ConsoleColorizePrint(" Usage: <dec|hex|real|apple>");
ConsoleBufferPush(" Where:");
@@ -1308,7 +1307,7 @@ Update_t CmdHelpSpecific (int nArgs)
,CHC_COMMAND, CHC_DEFAULT // green
);
break;
// View
// View
case CMD_VIEW_TEXT4X:
case CMD_VIEW_TEXT41:
case CMD_VIEW_TEXT42:
@@ -1448,7 +1447,7 @@ Update_t CmdHelpList (int nArgs)
return UPDATE_CONSOLE_DISPLAY;
}
//===========================================================================
Update_t CmdVersion (int nArgs)
{