11 Nov
2003
11 Nov
'03
2:17 a.m.
Bryce Harrington wrote:
I like the --debug=N approach and have used it myself quite a bit. But
I think this codebase would require something a bit more aggressive. How about this idea:
inkscape --debug_all=1 \ --debug_foo=3 \ --debug_bar=5 \ --debug_baz=0
where foo, bar, and baz correspond to 'subsystems' in the codebase that one would like to get debug info for, and "debug_all" represents all modules. The number gives a relative setting; 1 would print entry into the functions (so --debug_all=1 is effectively turning on a running trace stream); 5 would display all messages for the given module.
perhaps foo = 1 bar = 2 baz = 4 all = 127
njh