SimGrid  3.13
Versatile Simulation of Distributed Systems
ex.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "src/internal_config.h"
#include "xbt/ex.h"
#include "xbt/str.h"
#include "xbt/synchro_core.h"
#include "src/xbt_modinter.h"
#include "src/xbt/ex_interface.h"
#include "simgrid/sg_config.h"
#include "simgrid/simix.h"
#include "src/xbt/backtrace_dummy.c"

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_ex, xbt,"Exception mecanism")
 
xbt_running_ctx_t__xbt_ex_ctx_default (void)
 
void xbt_ex_setup_backtrace (xbt_ex_t *e)
 
void xbt_backtrace_display (xbt_ex_t *e)
 Display a previously captured backtrace. More...
 
void xbt_backtrace_display_current (void)
 show the backtrace of the current point (lovely while debuging) More...
 
void xbt_ex_display (xbt_ex_t *e)
 shows an exception content and the associated stack if available More...
 
void __xbt_ex_terminate_default (xbt_ex_t *e)
 
void xbt_ex_free (xbt_ex_t e)
 Exception destructor. More...
 
const char * xbt_ex_catname (xbt_errcat_t cat)
 returns a short name for the given exception category More...
 

Variables

const xbt_running_ctx_t __xbt_ex_ctx_initializer = XBT_RUNNING_CTX_INITIALIZER
 
xbt_running_ctx_fetcher_t __xbt_running_ctx_fetch = &__xbt_ex_ctx_default
 
ex_term_cb_t __xbt_ex_terminate = &__xbt_ex_terminate_default
 

Function Documentation

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( xbt_ex  ,
xbt  ,
"Exception mecanism"   
)
void xbt_ex_setup_backtrace ( xbt_ex_t e)