GNOME Bugzilla – Bug 669406
Not all info is written out in case of preprocessing
Last modified: 2012-02-25 20:00:44 UTC
In case the -d preprocessor option is used in combination with the QUIET option in the Doxyfile, not all the information is written to the output. Example: input file aa.F: subroutine tst end subroutine Used the standard Doxyfile with only QUIET set to YES. The output of: $ doxygen.exe -d preprocessor subroutine tst 00002 end subroutine 00003 00004 The output should be: $ doxygen.exe -d preprocessor --------- 00001 subroutine tst 00002 end subroutine 00003 00004 --------- Macros accessible in this file: --------- ---------
Created attachment 206821 [details] [review] PATCH write debug output of preprocessor to stdout with printf Write all the debug output of the -d preprocessor option with printf to stdout instead of writing it through the msg call. msg calls won't print in case of the option QUIET = YES (see also pdf documentation Chapter 8 Preprocessing the Hint at the end of the chapter regarding using -d Preprocessor)
Hi Albert, Instead of using msg or printf, I'll use Debug::print(Debug::Preprocessor,0,"..."); which was intended for debug prints.
Hi Dimitri, Thanks for the tip. I saw that there are a few more msg calls in the file pre.l with the Debug::Preprocessor (one just above the things I changed)
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.0. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.
debug output is written as expected