• Perl 5.034: "v" command in debugger not recognised

    From Henry Law@21:1/5 to All on Thu Jan 5 03:38:14 2023
    When running code under the debugger I routinely use the "v" command to find out "where I am"; but now it fails thus:

    DB<4> v
    Undefined subroutine &DB::cmd_l called at /usr/share/perl/5.34/perl5db.pl line 6034, <$PAGE> line 34.
    at /usr/share/perl/5.34/perl5db.pl line 6034, <$PAGE> line 34.
    DB::cmd_v("v", "", 251) called at /usr/share/perl/5.34/perl5db.pl line 4798
    DB::cmd_wrapper("v", "", 251) called at /usr/share/perl/5.34/perl5db.pl line 4311
    DB::Obj::_handle_cmd_wrapper_commands(DB::Obj=HASH(0x55c7de90ba90)) called at /usr/share/perl/5.34/perl5db.pl line 3200
    DB::DB called at (... etc: my code at this point).

    Has something changed? Running under Linux Mint 20, all up to date.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From E. Choroba@21:1/5 to Henry Law on Thu Jan 5 15:07:48 2023
    On Thursday, January 5, 2023 at 12:38:18 PM UTC+1, Henry Law wrote:
    When running code under the debugger I routinely use the "v" command to find out "where I am"; but now it fails thus:

    DB<4> v
    Undefined subroutine &DB::cmd_l called at /usr/share/perl/5.34/perl5db.pl line 6034, <$PAGE> line 34.
    at /usr/share/perl/5.34/perl5db.pl line 6034, <$PAGE> line 34.
    DB::cmd_v("v", "", 251) called at /usr/share/perl/5.34/perl5db.pl line 4798 DB::cmd_wrapper("v", "", 251) called at /usr/share/perl/5.34/perl5db.pl line 4311
    DB::Obj::_handle_cmd_wrapper_commands(DB::Obj=HASH(0x55c7de90ba90)) called at /usr/share/perl/5.34/perl5db.pl line 3200
    DB::DB called at (... etc: my code at this point).

    Has something changed? Running under Linux Mint 20, all up to date.

    The error was introduced somewhere around 5.17 and fixed in 5.35: https://github.com/Perl/perl5/commit/fe991866a0206a96b2ae0b9e875b80609ab3b919

    Ch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henry Law@21:1/5 to All on Mon Jan 16 02:57:07 2023
    The error was introduced somewhere around 5.17 and fixed in 5.35: https://github.com/Perl/perl5/commit/fe991866a0206a96b2ae0b9e875b80609ab3b919

    Ch.

    Meh; repos are at 5.34. I'll wait; it's not life-threatening. Thank you for prompt and accurate answer.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From HASM@21:1/5 to All on Mon Jan 16 05:30:17 2023
    The error was introduced somewhere around 5.17 and fixed in 5.35:

    Meh; repos are at 5.34.

    I'm on Fedora 37, upgraded nightly, installed perl is:

    % perl -v

    This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-thread-multi

    -- HASM

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)