05 Apr '13, 6pm

Ruby processes are regular processes and can be debugged with gdb:

April 5, 2013 jyurek ruby debugging gdb Using GDB to inspect a running Ruby. This job shouldn’t be taking this long! Well, that’s not a great thing to have to say, is it? But I bet more than a few of you have said it before, and not many of you knew exactly why at the time. Oh, sure, with liberal use of puts and maybe pry you can figure out what a problem might be next time you run it, but sometimes you need to figure out what that problem is right now. As it turns out, and I know this is a shocker, Ruby processes are just regular processes. They can be debugged with gdb . Having recently had the need to find out why a job of mine was running particularly slowly, I found out about this lovely tool the hard way: frantic googling. I found some very useful functions for gdb in a blog post by Rasmus on Ruby callstacks . define redirect_stdout call rb_eval_string("$_old_stdout,...

Full article: http://robots.thoughtbot.com/post/47202759358/using-gdb-t...

Tweets

@cczona

mtnwestrubyconf.org 05 Apr '13, 9pm

At GitHub, we've been growing pretty quickly and that sort of growth presents a lot of challenges. We were feeling the pai...

Using GDB to inspect a running Ruby process

robots.thoughtbot.com 07 Apr '13, 6am

April 5, 2013 jyurek ruby debugging unix processes Using GDB to inspect a running Ruby process This job shouldn’t be takin...

Blog”

rubylearning.com 05 Apr '13, 1am

, a participant who just graduated, has to say – “When I joined this course I was sceptical about how useful this course w...

@cosmo__ ruby '1.9.3' とか。

gembundler.com 05 Apr '13, 2pm

Like gems, developers can setup a dependency on Ruby. This makes your app fail faster in case you depend on specific featu...

Really quick post to start the weekend and running out to #luckyfabb now!

Really quick post to start the weekend and runn...

thatschic.net 05 Apr '13, 7pm

White dresses > black dresses. I think I have like, 10. I don't think I've introduced my kitty, Lena. She's incredibly fer...

Кстати, список «Concurrent Programming and Thre...

rubyweekly.com 05 Apr '13, 12pm

Securing Your Rails Application: A Webinar (April 9) On Tuesday, April 9th at 9AM Pacific Time, Bryan Helmkamp will be giv...

Have a question about running? Find the answer ...

runnersworld.com 04 Apr '13, 1pm

TRAINING Runner's World Training Homepage Running Times Training Homepage RACING Runner's World Races & Places Homepage Ru...

Code readability and Ruby

rubyflow.com 05 Apr '13, 3pm

Code readability and Ruby Posted by noelrap on April 05, 2013 — 0 comments Do you want to watch a discussion/rant on code ...

"Sometimes I wonder, do the benefits of running outweigh the cons?"

"Sometimes I wonder, do the benefits of running...

runnersworld.com 04 Apr '13, 7pm

I have never been athletic and avoided playing sports at all costs. It’s not fun. I almost talk myself out of running ever...

"XML is like violence - if it doesn’t solve you...

nokogiri.org 12 Apr '13, 5pm

Nokogiri::CSS::Tokenizer::ScanError Nokogiri::Decorators Nokogiri::Decorators::Slop Nokogiri::EncodingHandler Nokogiri::HT...

@tkaemming just doin’ what they tell me to

gembundler.com 04 Apr '13, 8pm

Rails 3 comes with baked in support with bundler. Using Bundler with Rails 3 Install Rails as you normally would. Use sudo...

"xml is like violence — if it doesn’t solve you...

nokogiri.org 08 Apr '13, 3am

[shows.xml] <root> <sitcoms> <sitcom> <name>Married with Children</name> <characters> <character>Al Bundy</character> <cha...

Using rbenv to manage rubies and gems

robots.thoughtbot.com 06 Apr '13, 2pm

April 6, 2013 lailawinner rvm rbenv ruby Using rbenv to manage rubies and gems We recently switched from RVM to rbenv for ...

HTTP - HTTPS request #ruby

apidock.com 04 Apr '13, 12pm

If you wish to re-use a connection across multiple HTTP requests without automatically closing it you can use ::new instea...