ruby debugger

Discussion in 'Ruby' started by Haris Bogdanoviæ, Jan 5, 2010.

  1. Hi.

    I'm trying out ruby debugging. If in irb I write:
    require 'debug'
    I get the rdb prompt.
    How do I start debugging some ruby file ?
    If I write
    require 'ruby-debug'
    I get 'true' but how to start the debugger ?

    Thanks
    Haris
     
    Haris Bogdanoviæ, Jan 5, 2010
    #1
    1. Advertising

  2. Haris Bogdanoviæ

    Roger Pack Guest

    > require 'ruby-debug'
    > I get 'true' but how to start the debugger ?


    debugger

    like

    require 'ruby-debug'
    ...
    debugger
    --
    Posted via http://www.ruby-forum.com/.
     
    Roger Pack, Jan 5, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Kleinfelter

    Debugger Debugging Ruby?

    Kevin Kleinfelter, Jan 12, 2005, in forum: Ruby
    Replies:
    1
    Views:
    93
    Assaph Mehr
    Jan 12, 2005
  2. JC
    Replies:
    28
    Views:
    331
  3. Kent Sibilev
    Replies:
    0
    Views:
    117
    Kent Sibilev
    Feb 2, 2007
  4. Robert Oschler
    Replies:
    1
    Views:
    232
    Mcginkel
    Sep 5, 2005
  5. aflat362
    Replies:
    7
    Views:
    227
    naixn
    Dec 7, 2006
Loading...

Share This Page