PAlib
Macros | Functions
Debugging utilities

Macros

#define PA_Assert(c, m)   ((c) ? ((void)0) : _PA_Assert(#c, m, __FILE__, __LINE__))
 Shows an error message if the condition is not true.
 

Functions

bool PA_IsEmulator ()
 Detects if the program is running on an emulator.
 
void PA_iDeaS_DebugOutput (const char *str)
 Outputs text to the iDeaS debugging console.
 
void PA_iDeaS_DebugPrintf (const char *str,...)
 Outputs formatted text to the iDeaS debugging console.
 
void PA_iDeaS_Breakpoint ()
 Triggers a breakpoint on iDeaS.
 

Detailed Description

Some debugging utilities like emulator detecting and iDeaS debug console printing

Macro Definition Documentation

◆ PA_Assert

#define PA_Assert (   c,
 
)    ((c) ? ((void)0) : _PA_Assert(#c, m, __FILE__, __LINE__))

Shows an error message if the condition is not true.

Parameters
cCondition, like MyVar < 128
mError message

Function Documentation

◆ PA_iDeaS_DebugOutput()

void PA_iDeaS_DebugOutput ( const char *  str)

Outputs text to the iDeaS debugging console.

Parameters
strThe text to output

◆ PA_iDeaS_DebugPrintf()

void PA_iDeaS_DebugPrintf ( const char *  str,
  ... 
)

Outputs formatted text to the iDeaS debugging console.

Parameters
strThe text to output