in reply to Re^2: How can I print variable contents from the debugger non-interactively?
in thread How can I print variable contents from the debugger non-interactively?
yes, it's still unclear for me if you want to step thru or run an automatic trace.
> Is there a way to provide this to the debugger via the $ENV{PERLDB_OPTS} variable?
Yes.
At least in .perldb with afterinit
sub afterinit { push @DB::typeahead, "b 4", "b 6"; }
See perldebug#Debugger-Customization
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I print variable contents from the debugger non-interactively? (@DB::typeahead)
by LanX (Saint) on Jul 17, 2017 at 16:59 UTC | |
|
Re^4: How can I print variable contents from the debugger non-interactively? (@DB::typeahead)
by davehorner (Scribe) on Jul 17, 2017 at 20:01 UTC | |
by LanX (Saint) on Jul 17, 2017 at 20:13 UTC | |
by davehorner (Scribe) on Jul 17, 2017 at 20:26 UTC | |
by LanX (Saint) on Jul 17, 2017 at 20:37 UTC |