Debugging is now no more a trouble for SketchUp Ruby extension developers. With a Ruby Debugger for SketchUp 2014, debugging has got easier.
The Ruby community enjoys debugging with Integrated Development Environments (IDE) like RubyMine, NetBeans and Aptana RadRails which usually rely on different gems to be installed for remote debugging. Getting these gems to work within SketchUp’s embedded Ruby is usually difficult. But now, at 3D Basecamp 2014, an open source Ruby debugger framework has been announced which currently supports Windows only but it is expected to support Mac soon. Installing it is very simple:
To launch SketchUp with the following command line arguments must be followed:
If the user is not familiar with installing and configuring the IDEs, some step-by-step instructions can be attained from the GitHub repository wiki. The source code for this project hosted under our GitHub account is https://github.com/SketchUp/sketchup-ruby-debugger.