Alarms

Top  Previous  Next

Any message sent with dbprintf or debugout of type JrdAlarm will trigger a popup windows messagebox (or an output to stdout if compiled on *nix), to alert the user to the event even if a debug monitor is not engaged.

 

You can also tell the JrDebugLogger system to flag any message above or equal to a certain severity level is treated as an alarm (and therefore to pop up a messagebox), by calling the global function:

JrDebugSetAlarmFilterLevel(int severitylevel);