Previous Topic Next topic Print topic


Syntax Errors

The debugger issues a message when the command syntax is incorrect. The error message contains at least three lines of text: the first lines describe the error, the second to last line echoes the command line as it was entered, and the last line contains a caret ( ^ ), indicating the approximate location of the error in the command line above. After displaying an error message, the debugger issues a prompt and waits for another command. The following are examples of the message feature:

CodeWatch> TYPEPRIMES
**Error** Invalid Command 
TYPEPRIMES
^
CodeWatch> TRACE EMTRY 
**Error** Syntax error 
TRACE EMTRY
      ^
Previous Topic Next topic Print topic