On Tue, Oct 7, 2008 at 2:47 PM, Martin Nordholts <[EMAIL PROTECTED]> wrote:
> Chris Mohler wrote:
>> Sorry if this is a dumb question - I did search the gimp-dev site but
>> did not see an answer.
>> I see many statements like this in the source:
>> IFDBG(3) g_debug ("Compression mode: %d", comp_mode);
>> I built GIMP (2.6) with --enable-debug=yes, and then set
>> G_LOG_LEVEL_DEBUG to 3.  Running GIMP from command line with " -c
>> --debug-handlers" would (so I thought) show messages from a statement
>> such as the above, but it does not.  What have I missed?
> Hi!
> If you grep for IFDBG you will see that that macro is only for the PSD
> and PSP file plugins (i.e. not GIMP-global). It's definition is in both
> cases:
>  #define IFDBG(level) if (PSD_DEBUG >= level)
> so you it should be enough to simply make sure PSD_DEBUG is defined to
> whatever level you want to debug for. Should be as easy as changing
>  #define PSD_DEBUG 0
> in
>  plug-ins/file-psd/psd.h

Thanks Martin - that cleared things up for me...

Gimp-developer mailing list

Reply via email to