Author Topic: debug messages  (Read 10054 times)

DanielD

  • Guest
debug messages
« on: November 13, 2004, 12:10:50 pm »
MicroC has debug message capability (compiler error messages), how do you turn that on in the IDE?  There is information about how to set up these messages in Debug.h in the MicroC directory but I am missing a step somewhere.  Could you let me know if you have any experience with this?


vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: debug messages
« Reply #1 on: November 14, 2004, 01:01:56 am »
The following Preprocessor  commands are recognized by the MicroC compiler
if they occur at the beginning of the source file line:  
1)
#error <text>
 Causes  MicroC to  issue  an  error  message  containing   the
specified text, and then terminate.

2)
#message <text>
Outputs an informational message (does not terminate).

For example,
#message "SOME MESSAGE"

Best regards,
Vitaliy