X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7cf87212645141665f1b2d80208bcadf77bdc344..f778fec3e0ea179d317ec29b3570d18ed70692a3:/src/xbt/exception.cpp diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index c14e9aed27..0a0f335d86 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -21,7 +21,8 @@ xbt_ex::~xbt_ex() = default; void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file, int line, const char* func) { - xbt_ex e(simgrid::xbt::ThrowPoint(XBT_THROW_POINT), message); + xbt_ex e(simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::backtrace(), xbt_procname(), xbt_getpid()), + message); xbt_free(message); e.category = errcat; e.value = value;