in reply to action in debugger - how to turn off
It'll print "hello world" every time it passes line 68 and will keep printing out untila 68 print "hello world'
That deletes the action.A 68
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: action in debugger - how to turn off
by lcuff (Novice) on May 23, 2011 at 17:55 UTC | |
I can't get it to work. I should have been more explicit in my original post. Here is my test code:
And here is the debugger interaction. The action gets set on line 10 with a 10 print "action print". Neither using A 10, which I try when after executing line 12, nor A *, which I try after executing line 14, turns off the action printing. It keeps printing, once per line.
| [reply] [d/l] [select] |
by tye (Sage) on Nov 06, 2012 at 22:59 UTC | |
Looks like a problem 'use strict' would have caught. It can be fixed by just inserting one line into "sub DB" of perl5db.pl:
Update (late): Broken by:
specifically:
But I'd still fix it by just putting a line before that:
There's nothing like fixing a decade-old bug. - tye | [reply] [d/l] [select] |
by choroba (Cardinal) on Nov 06, 2012 at 21:26 UTC | |
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
| [reply] |
by romweis (Initiate) on Nov 06, 2012 at 20:04 UTC | |
Hello. I am experiencing the exact same thing, with the addition that when the variable I am printing out goes out of scope, the debugger complains mightily. Is there a resolution to this? I am running Strawberry Perl V5.14.2.1-64bit on Windows 7. Thanks for any help, RTFM links, etc. | [reply] |