Re: [MacRuby-devel] Debugging MacRuby?

2010-07-09 Thread Alexander v. Below
Thank you very much for the debugging instructions! Also, thank you very much for giving me an idea about the difficulty of that issue... indeed, I probably underestimated the issue (but after reading some source code, I already had second thoughts). However, if there is anything that you would

Re: [MacRuby-devel] Debugging MacRuby?

2010-07-09 Thread Thibault Martin-Lagardette
Hi! I'm not sure exactly why you are having these problems, but I'll show you how we usually do debugging. Please note, however, that the current problem seems to be a very know issue, where we sometimes have a threading problem (the assertion is always the same). It's a very, very tricky bug t

[MacRuby-devel] Debugging MacRuby?

2010-07-09 Thread Alexander v. Below
Hello, dear list, allow me another stupid question: I want to go into MacRuby's guts, and throw gdb at it. Attempting to look at issue #753, I did the naive thing: % gdb macruby (gdb) break dispatcher.cpp:1343 The answer here was: "No symbol table is loaded. Use the "file" command. Make brea

Re: [MacRuby-devel] Debugging MacRuby

2010-05-03 Thread Laurent Sansonetti
Hi Alex, By default MacRuby builds with debugging symbols. So you can simply grab the sources from SVN (see http://www.macruby.org/source.html) and build/install them by hand. You should then see the source code inside gdb. I also recommend to read the HACKING.rdoc file, it contains a few tips

[MacRuby-devel] Debugging MacRuby

2010-05-03 Thread Alexander von Below
Hello, we have grown fond of MacRuby, but found a few things that appear to be bugs. Our idea was, to install a symbolicated framework of MacRuby, to see what is going on in the guts. Surely this is possible, but is there a good "best practice" to building such a debug version? Thanks Alex _