Re: Additional GdkDebugFlags?



Hi,

Tor Lillqvist <tml iki fi> writes:

> Would it be OK to add more values to the GdkDebugFlag enum in
> gdkinternals.h in HEAD? (And add corresponding gdk_debug_keys table
> entries in gdk.c.) This isn't an API change IMHO...
> 
> I have the following in mind, which I have used in the
> gtk-1-3-win32-production branch during a recent hacking spree to be
> able to pinpoint what debugging output I want more closely:
> 
> GDK_DEBUG_COLORMAP, GDK_DEBUG_GDKRGB, GDK_DEBUG_GC, GDK_DEBUG_PIXMAP,
> GDK_DEBUG_IMAGE, GDK_DEBUG_INPUT, GDK_DEBUG_CURSOR.

probably a good idea (although I'm not sure what debug output you
have in mind exactly) but IMO all the debugging code should be inside
ifdef's so GDK can be compiled without it. The current situation
where gdk_debug_updates() is checked every so often is bad enough, 
let's not make it worse.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]