Problem
How to create a module to debug the system I created.
Solution
Basically, printing a standard output is a way to debug your own system.
cout << message1 << endl;
cerr << message2 << endl;
Furthermore, when executing a created network file (called nfile.n here), use this command line, which is not from GUI of FlowDesigner ,
./nfile.n > log.txt
The message (above message1) output by cout is saved in log.txt.
./nfile.n 2> log.txt
The message (above message2) output by cerr is saved in log.txt.
Some nodes have a parameter DEBUG such as LocalizeMUSIC . Messages are output only when DEBUG is set a true.