On Thu, Jul 15, 2010 at 10:15 PM, Robert Dober <robert.dober / gmail.com> wrote: > On Thu, Jul 15, 2010 at 10:05 PM, Ralph Shnelvar <ralphs / dos32.com> wrote: >> Thursday, July 15, 2010, 1:47:08 PM, you wrote: >> >> RS> In Rails I can use the >> RS> debugger >> RS> statement to trigger the debugger. >> >> RS> How can I do that in rdebug? ¨Âôèåò÷áïôèåôèáî óåôôéîâòåáëðïéîôíáîõáììù ÷èåî ôèðòïçòáóôáòôó>> >> I found >> ¨Âôô𺯯âáóèäâ®óïõòãåæïòçå®îåô¯òõâùäåâõç®èôíì£ÓÅñ¸ >> and then placed >> >> ¨Âåñõéòå §òõâùçåíó§ >> ¨Âåñõéòå §òõâùäåâõ>> >> into the source ... >> >> but I still can't get the debugger to trigger. I get the following messages ... >> >> >> f:\UltraDedup>ruby -r debug UltraDedup.rb >> Debug.rb >> Emacs support available. >> >> UltraDedup.rb:3:require 'fox16' >> (rdb:1) c >> F:/InstantRails-2.0-win/ruby/lib/ruby/1.8/rational.rb:78: `undefined method `gcd' for Rational(1, 2):Rational' (NoMethodError) >> ¨ÂòïÆº¯ÉîóôáîôÒáéìó²®°÷éî¯òõâù¯ìéâ¯òõâù¯±®¸¯ùáíì®ò⺳¹¶ºéî àòåñõéòå>> ¨ÂòïÆº¯ÉîóôáîôÒáéìó²®°÷éî¯òõâù¯ìéâ¯òõâù¯±®¸¯ùáíì®ò⺳¹>> ¨ÂòïÕìôòáÄåäõð®ò⺴ºéî àòåñõéòå>> ¨ÂòïÕìôòáÄåäõð®òâº>> F:/InstantRails-2.0-win/ruby/lib/ruby/1.8/rational.rb:78: ¨Âãä ½õí®çãä¨äåî© >> (rdb:1) c >> F:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/cli/ruby-debug/processor.rb:17: warning: method redefined; discarding old interface= >> F:/InstantRails-2.0-win/ruby/lib/ruby/1.8/debug.rb:945 DEBUGGER__.context.trace_func event, file, line, id, binding, klass >> (rdb:1) >> >> >> >> Any thoughts on how to trigger the debugger? > Exactly as you did, then you hit c for continue and that was what the > debugger did > try help to see how to step, trace, set breakpoints and some more > HTH > R. >> >> >> >> >> > > > > -- > The best way to predict the future is to invent it. > -- Alan Kay > -- The best way to predict the future is to invent it. -- Alan Kay