abdan has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on The debugger not save the commands its in interactive

Replies are listed 'Best First'.
Re: The debugger not save the commands its in interactive
by choroba (Cardinal) on Nov 21, 2021 at 00:50 UTC
    The history is by default not saved when quitting the debugger. Setting the HistFile option should enable saving the history to a file, though.

    The history of the debugger can be displayed by the H command. Only some commands are saved to the history, this is controlled by the length of the command. On older Perl versions, only commands longer than 1 character are saved, in recent Perls, you can set the HistItemMinLength option to a different value (2 is the default).

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re: The debugger not save the commands its in interactive
by LanX (Saint) on Nov 21, 2021 at 00:25 UTC