[ANN] Ruby Debugging Article at IBM Developerworks

Discussion in 'Ruby' started by pat eyler, Sep 6, 2005.

  1. pat eyler

    pat eyler Guest

    http://www-128.ibm.com/developerworks/edu/os-dw-os-distruby-i.html

    The next article is up. (www.bugmenot.com if you don't want to register)

    I'm always interested in feedback, if anyone wants to share.=20

    --=20
    thanks,
    -pate
    -------------------------
    We are often unable to tell people what they need to know, because=20
    they want to know something else, and would therefore only=20
    misunderstand what we said
    - the Raven (George MacDonald, Lilith)
    pat eyler, Sep 6, 2005
    #1
    1. Advertising

  2. Florian Groß, Sep 6, 2005
    #2
    1. Advertising

  3. T24gOS82LzA1LCBtYXRoZXcgPG1ldGFAcG9ib3guY29tPiB3cm90ZToKCj4gVGhhdCBpcywgaWYg
    SSBoYXZlIHRoZSBzb3VyY2UgZmlsZSBvcGVuIGluIG15IGVkaXRvciwgSSdkIGxpa2UgdG8gYmUK
    PiBhYmxlIHRvIHdyaXRlIHNvbWV0aGluZyBsaWtlCj4gCj4gICAgIHRyaWdnZXJfZGVidWdnZXIg
    aWYgJERFQlVHCgokIGdlbSBpbnN0YWxsIHJ1YnktYnJlYWtwb2ludAoKICByZXF1aXJlICdydWJ5
    Z2VtcycKICByZXF1aXJlICdicmVha3BvaW50JwoKICBicmVha3BvaW50IGlmICRERUJVRwoKcHV0
    cyB5b3UgaW50byBhbiBpbnRlcmFjdGl2ZSBpcmIgc2Vzc2lvbgoKLUxldmluCg==
    Levin Alexander, Sep 6, 2005
    #3
  4. Re: Ruby Debugging Article at IBM Developerworks

    Levin Alexander wrote:

    > On 9/6/05, mathew <> 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
    >=20
    > puts you into an interactive irb session


    Or, to stop in the debugger, try this:

    defined? DEBUGGER__ and Process.kill("INT",0)
    Caleb Clausen, Sep 6, 2005
    #4
    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. Bruno Lienard
    Replies:
    0
    Views:
    326
    Bruno Lienard
    Oct 25, 2004
  2. Robert Wells
    Replies:
    4
    Views:
    645
    Default User
    Jun 24, 2008
  3. Qu0ll
    Replies:
    42
    Views:
    1,204
    Thufir Hawat
    Apr 13, 2009
  4. Koen Vervloesem

    IBM developerWorks article about Cerise

    Koen Vervloesem, Feb 1, 2005, in forum: Ruby
    Replies:
    0
    Views:
    100
    Koen Vervloesem
    Feb 1, 2005
  5. pat eyler
    Replies:
    2
    Views:
    115
    pat eyler
    Aug 12, 2005
Loading...

Share This Page