Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Have Perl debug automatically show modified values (updated)

by LanX (Sage)
on Nov 19, 2021 at 09:50 UTC ( #11138938=note: print w/replies, xml ) Need Help??


in reply to Have Perl debug automatically show modified values

> show modified variables values each time n, s debug step is done ?

Have a look at < and { command family, IIRC you can tell them what to do for each prompt while stepping thru code

update

DB<1> h > ? List Perl commands to run after each prompt. expr Define Perl command to run after each prompt. > expr Add to the list of Perl commands to run after each promp +t. * Delete the list of Perl commands to run after each prompt. DB<2> h } is not a debugger command. DB<3> h { db_command Define debugger command to run before each prompt. ? List debugger commands to run before each prompt. { db_command Add to the list of debugger commands to run before eac +h prompt. * Delete the list of debugger commands to run before each + prompt. DB<4> h < ? List Perl commands to run before each prompt. expr Define Perl command to run before each prompt. < expr Add to the list of Perl commands to run before each prom +pt. * Delete the list of perl commands to run before each +prompt. DB<5>

"Perl commands" => Perl code

"debugger commands" => those one letter commands listed with h h

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-01-21 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?