Some C++ classes that are convenient when debugging problems