X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/194df46818e3f10278130de231015fb42a6b29f7..287f3ab4d9a5a58f3e449311aa501ca504fded54:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 8d4487cf33..a543fb8fce 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -133,6 +133,8 @@ void xbt_backtrace_display_current(void) void xbt_ex_display(xbt_ex_t * e) { char *thrower = NULL; + if (e->pid != xbt_getpid()) + thrower = bprintf(" on process %d",e->pid); fprintf(stderr, "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n"