Ruby on Rails PL Forum

Forum poświęcone Ruby on Rails i językowi programowania Ruby

Nie jesteś zalogowany.

  • Index
  •  » WRUG
  •  » Ruby 1.9 Debugger Presentation Anyone?

#1 2010-05-07 16:46:41

rockyb
Obserwator
Zarejestrowany: 2010-05-07
Posty: 6

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 … all-rbdbgr  Having done this, people can follow along on their own laptops as I do a demo.

Thanks.

Offline

 

#2 2010-05-07 17:08:41

Tomash
RoR Guru
Zarejestrowany: 2007-04-01
Posty: 2786

Re: Ruby 1.9 Debugger Presentation Anyone?

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? smile

Offline

 

#3 2010-05-07 17:36:28

rockyb
Obserwator
Zarejestrowany: 2010-05-07
Posty: 6

Re: Ruby 1.9 Debugger Presentation Anyone?

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-threadf … le-session and the trace filtering package might be helpful.

Offline

 

#4 2010-05-07 18:45:55

tjeden
RoR Hacker
Od: zmierzchu do świtu
Zarejestrowany: 2008-04-26
Posty: 612
Serwis

Re: Ruby 1.9 Debugger Presentation Anyone?

I like the idea and will be there.

Offline

 

#5 2010-05-07 19:44:39

filiptepper
Bywalec
Od: Warszawa
Zarejestrowany: 2008-12-07
Posty: 245
Serwis

Re: Ruby 1.9 Debugger Presentation Anyone?

I'll be joining you too.

Offline

 

#6 2010-05-07 20:00:14

hubertlepicki
RoR Hacker
Zarejestrowany: 2008-07-15
Posty: 810

Re: Ruby 1.9 Debugger Presentation Anyone?

See you at Euruko 2010 smile. 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


Hubert Łępicki http://hubertlepicki.com
AmberBit ruby development company: http://amberbit.com, http://amberbit.pl
"Be nice because Ruby is nice" wink

Offline

 

#7 2010-05-08 00:31:40

drogus
Moderator
Od: Pruszków
Zarejestrowany: 2005-12-01
Posty: 1739
Serwis

Re: Ruby 1.9 Debugger Presentation Anyone?

Count me in! smile

Offline

 

#8 2010-05-16 16:08:48

rockyb
Obserwator
Zarejestrowany: 2010-05-07
Posty: 6

Re: Ruby 1.9 Debugger Presentation Anyone?

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

Offline

 

#9 2010-05-16 23:08:00

Tomash
RoR Guru
Zarejestrowany: 2007-04-01
Posty: 2786

Re: Ruby 1.9 Debugger Presentation Anyone?

OK, Rocky, I've sent you an e-mail 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?

Ostatnio edytowany przez Tomash (2010-05-16 23:08:12)

Offline

 

#10 2010-05-17 16:37:33

tjeden
RoR Hacker
Od: zmierzchu do świtu
Zarejestrowany: 2008-04-26
Posty: 612
Serwis

Re: Ruby 1.9 Debugger Presentation Anyone?

Offline

 

#11 2010-05-18 15:30:48

morii
Obserwator
Zarejestrowany: 2009-04-10
Posty: 14

Re: Ruby 1.9 Debugger Presentation Anyone?

what's with video recording... does anyone have a camera(may be looking like a telephone smile )

Offline

 

#12 2010-05-21 13:25:03

rockyb
Obserwator
Zarejestrowany: 2010-05-07
Posty: 6

Re: Ruby 1.9 Debugger Presentation Anyone?

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

Offline

 

#13 2010-05-21 15:47:49

filiptepper
Bywalec
Od: Warszawa
Zarejestrowany: 2008-12-07
Posty: 245
Serwis

Re: Ruby 1.9 Debugger Presentation Anyone?

rockyb napisał:

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

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. ;-)

Offline

 

#14 2010-05-22 04:46:44

rockyb
Obserwator
Zarejestrowany: 2010-05-07
Posty: 6

Re: Ruby 1.9 Debugger Presentation Anyone?

Will do.. Thanks.

filiptepper napisał:

rockyb napisał:

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

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. ;-)

Offline

 
  • Index
  •  » WRUG
  •  » Ruby 1.9 Debugger Presentation Anyone?

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson