Ruby In Steel - screenshots of debugger

We’ve made much better progress than we’d anticipated with the Ruby debugger for Visual Studio. Initially we had planned the debugger in 0.6 release of Ruby In Steel to take the form of breakpoints plus a ‘code evaluation’ window. In fact, we have come much further than that. It will now include the following features:

  • breakpoints
  • locals  window
  • drag-and-drop watch variables
  • call stack
  • tracing with step into / step over
  • interactive debugging console

Ruby In Steel Debugger 

This is still some way short of the complete debugging which we have planned. For example, the 0.6 release won’t have conditional breakpoints, ‘drilling down’ into variables or the ability to change the values of variables while debugging; we’ll be adding these features in a later version. Let’s take a quick run through the features it will have…

Breakpoints

breakpoints

Steel lets you add breakpoints to your Ruby programs by clicking in the margin of selected code lines. You can selectively enable/disable selected (or all) breakpoints in this breakpoints window.

Locals

 0_6_locals.gif

The Locals window automatically monitors and displays the values of local variables

Watch

 watch

You can enter the names of variables (or drag and drop variables from the editor window) in the Watch pane

Call Stack

 call stack

When your code is running several methods deep you can see this instantly in the Call Stack pane

Debug Console

 debug console

The interactive console not only display the output from the program you are debugging; it also lets you evaluate expressions – for example, enter the name of an object to inspect it or call a specific method to see the return value.

Beta version 0.6 of Ruby In Steel will be available for download from this site by the end of May.

3 Responses to “Ruby In Steel - screenshots of debugger”

  1. Keith Says:

    Cool :-)

    All it needs now is snippet support….and Rails support…. :-)

  2. Keith Says:

    oh and rhtml color coding support (and it would be great to be able to use the html designer in Visual Studio on rhtml.

  3. Paul Leclerc Says:

    Oh please let me get a hold of this NOW! I work on ASP.Net applications within VS2005 and write my functional tests using the Ruby addon Watir http://wtr.rubyforge.org/ . Watir lets you control an Internet Explorer instance and go to URLS, click on links, test content, etc. It has made my regression testing much more fun! Unfortunately I have experienced the pain of trying to debug my Ruby scripts with the built-in debugger :-(

    I want your solution NOW. I can’t wait until the end of the month!

    Paul

Leave a Reply

You must be logged in to post a comment.