DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Debug Namespace Reference

Functions

bool IsDebugged ()
 Whether the current process is running under a debugger. Implemented via /proc/self/status TracerPid on Linux.
 
void MPIDebugHold (const MPIInfo &mpi)
 If isDebugging is set, block every rank in a busy-wait loop so the user can attach a debugger and inspect state. Exit by setting isDebugging = false in the debugger.
 
void pybind11_Debug (py::module_ &m)
 

Variables

bool isDebugging = false
 Flag consulted by MPIDebugHold and assert_false_info_mpi.
 

Function Documentation

◆ IsDebugged()

bool DNDS::Debug::IsDebugged ( )

Whether the current process is running under a debugger. Implemented via /proc/self/status TracerPid on Linux.

Definition at line 35 of file MPI.cpp.

Here is the caller graph for this function:

◆ MPIDebugHold()

void DNDS::Debug::MPIDebugHold ( const MPIInfo mpi)

If isDebugging is set, block every rank in a busy-wait loop so the user can attach a debugger and inspect state. Exit by setting isDebugging = false in the debugger.

Definition at line 59 of file MPI.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pybind11_Debug()

void DNDS::Debug::pybind11_Debug ( py::module_ &  m)

Definition at line 125 of file MPI_bind.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ isDebugging

bool DNDS::Debug::isDebugging = false

Flag consulted by MPIDebugHold and assert_false_info_mpi.

Definition at line 90 of file MPI.cpp.