Re: [ANN] Ruby Debugging Article at IBM Developerworks



On 9/6/05, mathew <meta@xxxxxxxxx> wrote:

> That is, if I have the source file open in my editor, I'd like to be
> able to write something like
>
> trigger_debugger if $DEBUG

$ gem install ruby-breakpoint

require 'rubygems'
require 'breakpoint'

breakpoint if $DEBUG

puts you into an interactive irb session

-Levin


Relevant Pages

  • Re: Break Mode Not Run
    ... > mode in order to Debug it, this doesn't work runs the whole code even if ... > put a breakpoint or tri to use step into. ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: Ruby Debugging Article at IBM Developerworks
    ... Levin Alexander wrote: ... >> That is, if I have the source file open in my editor, I'd like to be ... >> trigger_debugger if $DEBUG ... > require 'breakpoint' ...
    (comp.lang.ruby)
  • Re: getting the vs debugging to work
    ... "Start" option from the debug menu claiming I don't have the correct ... > postback and than the breakpoint is not reach. ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Debug vs. Release code.
    ... >> is run in VS.NET, assuming symbols have been generated, it can be ... > It will not stop on your breakpoint. ... Is that true even if you change the settings so that the debug symbols ... Prev by Date: ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Errors!!!!
    ... Set a breakpoint, either by using the DBSTOP function: ... or using the Debug menu in the Editor: ... that the vectors you're trying to plot are the same length. ...
    (comp.soft-sys.matlab)