puts "(Something has fallen down on #{@somepony})" [9, 18] in debugger_example.rb 9 end 10 11 def twitcha_twitch 12 puts "Something is about to fall!" 13 debugger => 14 puts "(Something has fallen down on #{@somepony})" 15 end 16 17 end 18 (rdb:1)
specific command Available commands: backtrace delete enable help list ps save start undisplay break disable eval info method putl set step up catch display exit irb next quit show thread var condition down finish jump p reload skip tmate where continue edit frame kill pp restart source trace
i e d n m c t a i g f a e o k c e t d b S n [...] f r t o b e h o i g k r e a d a p i a i n p o l m o p o u t o s s e s i r a t m .” h t ://e .w k p d a.o g/w k /D r c
first argument to * function contains class which is being instantiated */ @objects[copyinstr(arg0)] = count(); } END { /* Truncate the aggregate to top 20 results */ trunc(@objects,20); /* Print the aggregate */ printa(@objects); }
p r nüt l c ! E n a h a b n t e ! D r c e l u t l i h g w c t g s P o l n e n s l u e d n S s e s V e e T o s a n c t a g s r c e : z.B.: ruby-prof, perftools, mini- profiler