X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f53a83e6e0569f94e664373316f96d197f7b8851..f7c38a5c54c0ec04663ee41183bf583edea6c856:/include/xbt/ex.h diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 5c9a0c5b1b..6dacb0ff37 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -505,8 +505,13 @@ extern void __xbt_ex_terminate_default(xbt_ex_t *e); /** @brief Exception destructor */ XBT_PUBLIC(void) xbt_ex_free(xbt_ex_t e); -XBT_PUBLIC(void) xbt_ex_display(xbt_ex_t *e); -XBT_PUBLIC(void) xbt_backtrace_display(void); +/** @brief Shows a backtrace of the current location */ +XBT_PUBLIC(void) xbt_backtrace_display_current(void); + +/** @brief Captures a backtrace for further use */ +XBT_PUBLIC(void) xbt_backtrace_current(xbt_ex_t *e); +/** @brief Display a previously captured backtrace */ +XBT_PUBLIC(void) xbt_backtrace_display(xbt_ex_t *e); /** @} */ #endif /* __XBT_EX_H__ */