xtd_c - Reference Guide 0.2.0
debugger.h File Reference
#include "../types.h"
#include <stdlib.h>

Definition

Contains debugger definitions.

Go to the source code of this file.

Macros

#define debug_break_()   if (xtd_diagnostics_debugger_launch()) abort()
 Signals a breakpoint to an attached debugger. More...
 

Methods

bool xtd_diagnostics_debugger_is_attached ()
 Gets a value that indicates whether a debugger is attached to the process. More...
 
void xtd_diagnostics_debugger_debug_break ()
 Signals a breakpoint to an attached debugger. More...
 
bool xtd_diagnostics_debugger_is_logging ()
 Checks to see if logging is enabled by an attached debugger. More...
 
bool xtd_diagnostics_debugger_launch ()
 Launches and attaches a debugger to the process. More...
 
void xtd_diagnostics_debugger_log (int32_t level, const char *category, const char *message)
 Posts a message for the attached debugger. More...