Easiest is to debug everything. Just put a line with 'debug' on it with nothing else.
RyanYee/叶晔 wrote: > > > 2008/11/11 Niels Roest <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > Hi, > debug is a good idea. > Please check if your code is compiled with --enable-debug (if you > use configure), > otherwise you will not see any prints. > My app says at startup > (*) DirectFB/Core: Multi Application Core. (2008-11-03 18:31) [ > DEBUG ] > which tells me that DEBUG statements are compiled. > Then you need to put 'debug' in your directfbrc. > > RyanYee/叶晔 wrote: > > I use these verison ,plat is intel xscale Olo > DFB 1.0.0 > GTK+ 2.10.0 > > and depend package and GTK crosscompile ok, > dfbinfo(...tools ok) > Lite (....sample ok) > but gtk-demo failded with signal caught ,and I found many help > request on website, > 1.did this means GTK on DirectFB bad supported? > 2.did anybody has succesful build GTK with DFB,which version? > 3.I can only found debug , trace option in /etc/directfbrc,my > target still had no gdb, > so Are there any other debug method I can follow? > > here is my message output on console > > (gtk-demo:1130): Gdk-DirectFB-WARNING **: > gdk_display_request_selection_notification Unimplemented function > > > (gtk-demo:1130): Gdk-DirectFB-WARNING **: > gdk_window_set_keep_above() not implemented. > > > (gtk-demo:1130): Gdk-DirectFB-WARNING **: > gdk_window_set_keep_below() not implemented. > > (!) [ 1130: 1.130] --> Caught signal 11 (at (nil), invalid > address) <-- > (-) [ 1130: -STACK- ] > #0 0x40ae71a8 in sh: nm: not found > ?? () from /opt/gtk/lib/libdirect-1.0.so.0 [0x40add000] > > > -- > ----RyanYee > How many roads must a man walk down before > you can call him a Man?How many years can > some people exist before They're allowed to > be free?the answer is Blowing in the wind... > > ------------------------------------------------------------------------ > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org <mailto:directfb-users@directfb.org> > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > > > -- > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" > > > sure I added --enable-debug --enable-trace, > but I found when I changed debug=cairo to debug=IDirectFBSurface in > directfbrc. > not the same result.I think I must find ways to use gdb. > > -- > ----RyanYee > How many roads must a man walk down before > you can call him a Man?How many years can > some people exist before They're allowed to > be free?the answer is Blowing in the wind... > ------------------------------------------------------------------------ > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > -- .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users