@billbell52 said:
I am on this quest to get Netbeans IDE working with SU Ruby. The development version of Netbeans has a capability to attach a debugger to a Ruby process.
...
From a quick reading, it looks like this is an ide to attach to a Ruby script run from the command line.
SketchUp, however, runs scripts from an embedded version of Ruby. Not the command line. So there's no port or process to attach to.
Secondly, running the rudebug-ide would not give you access to the SketchUp Ruby extensions embedded inside SketchUp. Eg., If you issue a UI.messagebox() call (or any SketchUp call) from your script loaded by rdebug-ide, it'll just get an "unknown method" error.
Third, the SketchUp Console is in control of all Standard in, out, and err I/O streams. Ruby-ide will have to redirect the SketchUp Console I/O to itself, then restore them when it's finished.
For MS windows, an alternative might be:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18130
SketchUcation Community Forums • View topic - [plugin] SuRDebug