open a perl file then
Alt+Debug+Show Debugger
And debugger tab shows up on the right on top of outline
Press run debugger button (some kind of catterpillar)
Then press next button (n) to step over, and variables will show in list if you have "Show Local Variables (y 0)" checked
However, "Show Global Variables" is greyed out
padre debugger show global variables -> http://padre.perlide.org/trac/wiki/Features/Perl5Debugger
I have been getting perl debug errors, see POD below, so you might notice it is automaticly disabled when I think it is unsafe, then re-enable.
If you want to see @ISA|@INC|%ENV|%SIG use the p|x button.
Clicking the "p|x" button works to show the value of $_. Enter @INC or any other variable in the textbox and press "p|x" button again to see it in "Debug Output"
| [reply] [d/l] |
I don't understand. I run padre, then I "open" a program (*.pl file). Then, there is a "Debug" menu item (not "Alt"). The "Debug" menu item drops down with these options: step in/out/over, run to breakpoint, jump to curr. line, breakpoints etc., show variable value, show stack trace, quit debugger.
I don't see "Show local variables (y 0)" like you mention.
It's Padre 0.86 on Windows 7 x64.
| [reply] |
Padre is now at 0.94. It would be better if you upgraded it. You can go with the new DWIM Perl distribution that includes the latest Padre (and that replaces the "Padre on Strawberry" distributions.
| [reply] |
Well gee-wiz, upgrade Padre
| [reply] |
Anonymous Monk wrote: "Clicking the "p|x" button works to show the value of $_ . Enter @INC or any other variable in the textbox and press "p|x" button again to see it in "Debug Output"
Where can I find the "p|x" button and the "text box"? Are you talking about Padre?
| [reply] |
| [reply] |