I upgraded a machine to the latest Ubuntu and got Perl 5.34.0, which included a problem with the debugger:
My friend Google brought me to this page that had links to the necessary patch to perl5db.pl on github, bringing the script from version 1.60 to 1.60_01.DB<4> v + Undefined subr +outine &DB::cmd_l called at /usr/share/perl/5.34/perl5db.pl line 6034 +. at /usr/share/perl/5.34/perl5db.pl line 6034. + DB::cm +d_v("v", "", 56) called at /usr/share/perl/5.34/perl5db.pl line 4798 DB::cmd_wrapper("v", "", 56) called at /usr/share/perl/5.34/pe +rl5db.pl line 4311 DB::Ob +j::_handle_cmd_wrapper_commands(DB::Obj=HASH(0x55e85838c150)) called +at /usr/share/perl/5.34/perl5db.pl line 32 00 + DB::DB + called at report_warnings.pl line 56 Debugged program terminated. Use q to quit or R to restart, + use o inhibit_ +exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<4>
And, of course, the patch worked just fine. What a great community. Thanks for the patch!
PS: Ugh, sorry -- the problem was that the v command that I use a lot (Where am I? Oh, there I am!) crashed the debugger. The patch solves that problem.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Debugger issue solved (two years ago)
by choroba (Cardinal) on May 07, 2024 at 08:27 UTC | |
by talexb (Chancellor) on May 07, 2024 at 13:14 UTC | |
by choroba (Cardinal) on May 07, 2024 at 14:03 UTC | |
by talexb (Chancellor) on May 07, 2024 at 20:55 UTC | |
Re: Debugger issue solved (two years ago)
by eyepopslikeamosquito (Archbishop) on May 07, 2024 at 23:42 UTC | |
by haj (Vicar) on May 08, 2024 at 09:35 UTC | |
by hippo (Archbishop) on May 08, 2024 at 08:48 UTC | |
by talexb (Chancellor) on May 08, 2024 at 14:13 UTC |