in reply to bug in the debugger? breakpoints in subroutines ignored if attributes present
Instead of "b X::a", do the following:
% perl -d test.pl # ... 206: $global_phase++; DB<1> l X::a Switching to file 'test.pl'. 5: sub a : ATTR(SCALAR) { 6: print "a\n"; 7: } DB<2> b 6 DB<3> c X::a(attribBreak.pl:6): print "a\n"; DB<3>
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: bug in the debugger? breakpoints in subroutines ignored if attributes present (work-around)
by wu-lee (Beadle) on Apr 23, 2007 at 16:38 UTC | |
by tye (Sage) on Apr 23, 2007 at 16:43 UTC | |
by wu-lee (Beadle) on Apr 23, 2007 at 17:02 UTC |