From: Rich W. <rw...@gm...> - 2008-01-05 07:53:28
|
I tried ruby-debug, and set a breakpoint by adding the 'debugger' line to my code. Oddly enough, XCode placed a breakpoint marker just after my 'debugger' line. When I executed the code, it seemed to stop at the breakpoint. Unfortunately, I couldn't do anything else--but at least it's partially working. I tried to launch the code from the command line by running 'ruby rb_main.rb' but it seems to be missing references to the Cocoa xml files. I'll poke at it some more and let everyone know if I find anything useful. -Rich- On Dec 30, 2007, at 1:04 AM, Eloy Duran wrote: > Hi, > > I can't speak for when/if this will be included with XCode. > However what I use is ruby-debug (http://www.datanoise.com/ruby- > debug/), > it works the same with rubycocoa as it does with any other ruby code. > > I have some code to make it use another gui etc, > but that's not clean enough to release atm. > But until I do, or somebody else ;-], it should work fine in the > terminal. > > Cheers, > Eloy > > On 28 dec 2007, at 11:38, Tim Perrett wrote: > >> Hi Rich, >> >> Yes thats right - at the moment you cannot use breakpoints with ruby >> code. >> >> Eloy or Laurent might be able to tell you if/when that might be >> implemented. >> >> Cheers >> >> Tim >> >> >> On 28 Dec 2007, at 08:50, Rich Warren wrote: >> >>> I'm using RubyCocoa in Leopard. It seems that XCode will not let me >>> set breakpoints in any of the Ruby code. Is that correct? Or am I >>> doiong something wrong? >>> >>> What's the best way to use this code with a debugger? >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Rubycocoa-talk mailing list >> Rub...@li... >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |