#include <gdbprint.h>
NAME: gdbprint - help functions for printing Diffpack objects in the gdb debugger
DESCRIPTION:
This file is under construction!!
The gdb debugger cannot handle calls to member functions of C++ classes. However, global functions can easily be called from gdb. Therefore we have made some global utility functions that print the contents of fields, grids, vectors etc. If you have a "Handle(FieldFE) error", you can print its contents from the gdb command line by the command " print gdbHFieldFE(error)". The other functions work in a similar way.
All functions in "gdbprint.h" are static, which means that a compiled copy of their object code will be included in the application executable. In other words, the "gdb" functions here are not contained in the Diffpack library files.
One should only include "gdbprint.h" during debugging with gdb.