From: Lyle Johnson Date: 2002-05-25T03:16:30+09:00 Subject: Re: FXRuby debugging options > I've tried running it under the ruby debugger, but it crashes as soon as I > start the animation, so I don't get any useful information there either. > > What are my debugging options now? This is a fairly dynamic program so I'm > sure it is probably a concurrency issue somewhere, but I need some > direction on how to narrow it down from here. If it's fairly small I could take a look at it. I've never used Ruby's debugger and so I don't know if there are some inherent problems in using it to debug C/C++-based extensions like FXRuby. I hate to ask, but have you tried sprinkling a few print (puts) statements here and there to get an idea of which routine it's actually crashing in? > I'm not only interested in *this* problem, maybe re-installing FXRuby/FOX > from one of the recently available RPM's might do the trick, I'm also > interested in general where to go from here debugging an app like this > written in Ruby using FXRuby. I doubt that re-installing FOX or FXRuby is going to fix this problem. Generally speaking, if the examples work OK then your installation is OK, sort of an all-or-nothing proposition.