StuBS
|
Debug macros enabling debug output on a separate window. More...
Macros | |
#define | DBG_VERBOSE nullstream |
An output stream, which is only displayed in the debug window in verbose mode. | |
#define | DBG *copyout |
An output stream, which is displayed in the debug window. | |
Variables | |
TextStream | dout |
Debug window. | |
OutputStream * | copyout |
Debug window with copy function to serial. | |
Debug macros enabling debug output on a separate window.
#define DBG *copyout |
An output stream, which is displayed in the debug window.
In single core (OOStuBS) this is just an alias to the debug window object dout
.
#define DBG_VERBOSE nullstream |
An output stream, which is only displayed in the debug window in verbose mode.
|
extern |
Debug window with copy function to serial.
Provide an additional layer to ouput one debug output also to serial. While this is a simple CopyStream pointer in the single core case, it is an array in the multi core case, which consists of thre TextStreams and one CopyStream. For that, construction is done like:
|
extern |
Debug window.
Debug output using DBG like DBG << "var = " << var << endl
should be displayed in separate window.
Ideally, this window should be placed below the normal output window without any overlap and be able to display 4 lines.