VM on Linux: Enabling DEBUG_EVENTS

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Wed Mar 19 20:37:14 UTC 2003


Am Mittwoch, 19.03.03 um 17:59 Uhr schrieb Christian Eitner:
>
> I try to get the DEBUG_EVENTS things to be displayed for my VM on 
> Linux (VM version 3.4-1). I exported CFLAGS="-DDEBUG_EVENTS=1" before 
> running "configure", and it shows up on all gcc calls (i.e. gcc blabla 
> -DDEBUG_EVENTS=1), but the resulting VM doesn't printf any debug 
> messages. Any ideas?

Take a look at the top of sqXWindow.c which reads

#undef  DEBUG_EVENTS
#undef  DEBUG_SELECTIONS
#undef  DEBUG_BROWSER

This is intended for hacking, so you have to #define it in the file 
itself rather than giving it as an option.

-- Bert



More information about the Squeak-dev mailing list