|
SimGrid
3.21
Versatile Simulation of Distributed Systems
|
Contextual information about an execution location (file:line:func and backtrace, procname, pid)
Constitute the contextual information of where an exception was thrown
These tuples (FILE, LINE, func, backtrace, procname, pid) are best created with XBT_THROW_POINT.
#include <Exception.hpp>
Public Member Functions | |
| ThrowPoint ()=default | |
| ThrowPoint (const char *file, int line, const char *function, Backtrace bt, std::string actor_name, int pid) | |
Public Attributes | |
| const char * | file_ = nullptr |
| int | line_ = 0 |
| const char * | function_ = nullptr |
| Backtrace | backtrace_ |
| std::string | procname_ = "" |
| Name of the process who thrown this. More... | |
| int | pid_ = 0 |
| PID of the process who thrown this. More... | |
|
default |
|
inlineexplicit |
| const char* simgrid::xbt::ThrowPoint::file_ = nullptr |
| int simgrid::xbt::ThrowPoint::line_ = 0 |
| const char* simgrid::xbt::ThrowPoint::function_ = nullptr |
| Backtrace simgrid::xbt::ThrowPoint::backtrace_ |
| std::string simgrid::xbt::ThrowPoint::procname_ = "" |
Name of the process who thrown this.
| int simgrid::xbt::ThrowPoint::pid_ = 0 |
PID of the process who thrown this.