Ruby 1.9 Debugger Presentation Anyone?

Sorry for the English post. My understanding of Polish is limited to bigos, flaczki, and Wódka.

I’ll be giving a talk at EuRuKo on a Ruby 1.9 debugger. This is a total rewrite of ruby-debug. I will be in Warsaw from 20 May to 23 May. Would anyone be interested seeing a demo of the debugger?

Ideally I would like to spend some time beforehand helping those who want to install the debugger on their laptop. Installation instructions are at http://wiki.github.com/rocky/rbdbgr/how-to-install-rbdbgr Having done this, people can follow along on their own laptops as I do a demo.

Thanks.

Sounds great! How about thursday (20th may) evening then?
We could have fun with your debugger and then do some hacking session, or just grab a beer at the nearby bar.

WRUG guys, interested? :slight_smile:

Thursday evening (20th May) is great. Just give me details (where and exactly when) as they get known.

P.S. I’m also interesting in your static analysis of Ruby code. If at some point you want to do dynamic analysis, RubyVM::ThreadFrame http://wiki.github.com/rocky/rb-threadframe/sample-session and the trace filtering package might be helpful.

I like the idea and will be there.

I’ll be joining you too.

See you at Euruko 2010 :). I use debugger very rarely now but when I do it’s priceless and no one can tell me that unit tests can replace that :wink:

Count me in! :slight_smile:

Hi -

Any word on where we will be meeting 20 May, this Thursday?

Best way to contact me directly before Thursday is rocky@gnu.org. Starting Thursday, you can reach me at the handphone (cell phone) number +44 7540 503697.

It would be nice to have contact information in case I get lost or the flight is delayed. (There have still been small amounts of volcano ash floating around.)

I assume the location has a projector that I can plug my laptop into.

Just for your information, I’ll be staying at the Aparthotel Zgoda, near the Palac Kultury i Nauki.

Look forward to meeting everyone!
Rocky

OK, Rocky, I’ve sent you an e-mail :slight_smile:

There’s an official page of the meetup: http://wrug.eu/2010/5/16/go-specjalny-rocky-bernstein– tell your ruby friends so that nobody misses such opportunity!

Tjeden, GoldenLine meetup page?

BTW, maybe we should also have some facebook page for WRUG?

http://www.goldenline.pl/spotkanie/wrug-spotkanie-rockym-bernstein - GoldenLine meetup page.

what’s with video recording… does anyone have a camera(may be looking like a telephone :slight_smile: )

Thanks to Aenima for hosting my Ruby 1.9 debugger talk, and especially to Tomash (to whom I also owe a beer) for making it all happen. Thanks to everyone coming to the event. WRUG in Warsaw rivals its counterpart Ruby group in New York City!

I received many very useful comments which I will use to give a better talk at EuRuKo. For this, I am yet again grateful.

Below I summarize some of the comments I remember. I often get things wrong which is why I write debuggers in the first place. So please feel free to correct or add your thoughts. Send the comments to rocky@gnu.org. If you want to send them in Polish that’s okay too since I can use Google Translate.

  • Less improvisation. I will stick to more to a scripted talk. This is crucial since I need to get more information conveyed in less time.

  • The fumbling between Emacs sessions is really bad. So I will to get to the talk early and have things better set up before the talk.

  • Describe the use case where debuggers are helpful. Don’t assume anyone know anything about ruby-debug.

More interesting demos:

  • stopping before a return and changing the value of the return.
  • capturing method class and module definitions from irb.
  • stopping before an exception.
  • tracing into function defined via eval.

Less interesting demos:

  • timing of different implementations of “step over”
  • nested debugging.

Demos not shown (but might include)

  • calling the debugger from inside an irb session
  • cebugging a rails app or, more generally calling the debugger from a Ruby program
  • showing after-the-fact trace output.
  • loading the debugger at some arbitrary point in a program

[quote=rockyb]Demos not shown (but might include)

  • calling the debugger from inside an irb session
  • cebugging a rails app or, more generally calling the debugger from a Ruby program[/quote]
    It’d great if you could include these two in your presentation.

This could be an eye-opener for all who don’t believe in debuggers. :wink:

Will do… Thanks.

[quote=filiptepper][quote=rockyb]Demos not shown (but might include)

  • calling the debugger from inside an irb session
  • cebugging a rails app or, more generally calling the debugger from a Ruby program[/quote]
    It’d great if you could include these two in your presentation.

This could be an eye-opener for all who don’t believe in debuggers. ;-)[/quote]