[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] debugger breaks automatically if you're 100 levels deep in subroutine calls!



Ooo! Cool!

I screwed up. I had a method which called a method which called back on the first. In real life, the program hangs forever (eventually I assume I would have run out of RAM and crashed?), but the debugger detected my idiocy and broke automatically!

Wow! (Does Visual Studio do that? Or are you *always* > 100 levels deep in VB.NET? -grin-)

j


387:       die unless ($self->_read_string_for_miles_ok($record, "DL basic", $maximum_miles));
  DB<4> n
Model::omares::crs::Rewards::RewardEvent::get_fg_rewards(/usr/lib/perl5/site_perl/Omni/MVC/Model/omares/crs/Rewards/RewardEvent.pm:229):
229:    sub get_fg_rewards         { return $_[0] }
100 levels deep in subroutine calls!
  DB<4>