From: Mattias W. <ma...@su...> - 2006-09-24 10:04:31
|
Try to compile without optimization, -O0 or no -O flag at all. -Mattias Vlad Codrea wrote: > Hi, > > I'm trying to get a feel for how Fuse works by debugging the sample > "hello.c" program provided on your website. I compiled it and fuse-2.5.3 > using the "-g" option, and I'm running the "hello" executable in the > Eclipse debugger. > > Strangely, it seems that some lines of code are being executed over and > over again. For example, the debugger goes to line 322, then to line > 321, then to line 322, then to line 321, then to line 322 in helper.c > before finally going to line 258. Later on, there are other instances > where this type of repetition occurs (ie. in helper.c: line 142, then > line 138, then line 142, then line 138, then line 142, etc). > > I recorded a 5-minute screen-capture video showing how the same lines of > code are being repeatedly executed: > > http://www.angelfire.com/ex2/foss/fuse/fuse_debug.html > > Is this behavior a bug, is it an artifact of debugging, or am I just > doing something wrong? > > Thanks for your help, > Vlad > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel > > |