Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
Debugging

ASan

In debugging you should always use ASan.

WARNING: Even if ASan isn’t reporting an error, it doesn’t mean the program is bug-free—it may simply be that its runtime modifications are inadvertently covering up a problem caused by undefined behavior.

GDB

Assertion errors may be cryptic. To find where the assertion failed you can recover the backtrace using the GDB debugger as follows:

gdb <exec>
run
bt

Petsc

-info -malloc_view -malloc_debug