[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Omaha.pm] debugger breaks automatically if you're 100 levels deepin subroutine calls!
>>Wow! (Does Visual Studio do that? Or are you *always* > 100 levels
deep in VB.NET? -grin-)
No. You can set a breakpoint to fire after n-many passes though.
More than 100 levels is at least 95 levels too deep for most VB.NETers
What if you have recursive calls to the same function? Does that count?
Thanks!
Kent
Q. What song do PerlMonger most like to Karaoke to?
A. #!s, duh.
Q. Does that mean that William Huang uses Perl?
A. I'd need to study() that.
-----Original Message-----
From: omaha-pm-bounces@mail.pm.org [mailto:omaha-pm-bounces@mail.pm.org]
On Behalf Of Jay Hannah
Sent: Wednesday, December 29, 2004 4:58 PM
To: omaha-pm@pm.org
Subject: [Omaha.pm] debugger breaks automatically if you're 100 levels
deepin 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>
_______________________________________________
Omaha-pm mailing list
Omaha-pm@mail.pm.org
http://www.pm.org/mailman/listinfo/omaha-pm