Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.86k stars 528 forks source link

perl 5.8.0 debugger break point #5981

Closed p5pRT closed 21 years ago

p5pRT commented 21 years ago

Migrated from rt.perl.org#17762 (status was 'resolved')

Searchable as RT17762$

p5pRT commented 21 years ago

From warren.dodge@tek.com

Created by warren.dodge@tek.com

I updated to 5.8 recently and have found one thing that is an annoyance in the debugger. Previously you could be stopped at a breakpoint and type "d" to delete the break point. Now it seems you have to type "B line_num" which is a real pain.

Not sure if this was by design or a problem.

Perl Info ``` Flags: category=core severity=low Site configuration information for perl v5.8.0: Configured by warrend at Fri Aug 23 09:33:12 PDT 2002. Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos rosewood 5.8 generic_108528-03 sun4u sparc ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldb -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE' cccdlflags='-fPIC', lddlflags='-G' Locally applied patches: @INC for perl v5.8.0: /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/5.8.0/sun4-solaris /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/5.8.0 /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/site_perl/5.8.0/sun4-solaris /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/site_perl/5.8.0 /proj/wdt/gnu_sun5.8/perl-5.8.0/lib/site_perl . Environment for perl v5.8.0: HOME=/login/warrend LANG=C LANGUAGE (unset) LD_LIBRARY_PATH=/tools/eda/ldv/bin:/proj/eda/disk4/ldv33qsr2/tools/inca/lib:/proj/eda/disk4/ldv33qsr2/tools/lib:/proj/eda/disk1/LMC_r41/lib/sun4Solaris.lib LOGDIR (unset) PATH=.:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/login/warrend/acroread506/acroread/bin:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/proj/dpl/harry/bin:/tools/eda/psd142c/tools/pcb/bin:/tools/eda/psd142c/tools/bin:/tools/eda/psd142c/tools/dfII/bin:/tools/eda/psd142c/tools/fet/bin:/tools/eda/psd142c/tools/specctra/bin:/tools/eda/fetools/bin:/tools/eda/cadtools/bin:/tools/eda/ldv/LSF:/tools/eda/ldv/bin:/proj/eda/disk4/ldv33qsr2/tools/bin:/proj/eda/disk4/ldv33qsr2/tools/inca/bin:/proj/eda/disk4/ldv33qsr2/tools/dfII/bin:/proj/eda/annex2/debussy_5.2.9/bin:/proj/eda/disk1/vim61/bin:/stdapps/cms/bin PERL_BADLANG (unset) SHELL=/bin/tcsh ```
p5pRT commented 21 years ago

From Richard.Foley@ubsw.com

This is a bug report for perl from warren.dodge@​tek.com\, generated with the help of perlbug 1.34 running under perl v5.8.0.

\ I updated to 5.8 recently and have found one thing that is an annoyance in the debugger. Previously you could be stopped at a breakpoint and type "d" to delete the break point. Now it seems you have to type "B line_num" which is a real pain.

Not sure if this was by design or a problem.

This is by design\, the docs (h and h h) describe the new (consistent) behaviour\, and it was discussed on p5p.

Robert\, you can close this as a non-bug\, if you like\, (I've forgotten my uid/pass again :-)

Richard Foley Ciao - shorter than Aufwiedersehen

--

ps. sorry about the ubs sig. (below) - can't get rid of it\, for the moment :-\

Visit our website at http​://www.ubswarburg.com

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate\, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted\, corrupted\, lost\, destroyed\, arrive late or incomplete\, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.

p5pRT commented 21 years ago

From warren.dodge@tektronix.com

Well all I know is this new way causes me to debug slower. Always having to look at the line number and type it in.

Why not let just a "B" delete the break point at the current lineif one was there.

Ditto for other commands that do this like "A"

Just the thoughts of a user.

As you can tell I really liked the old "d" command

Perhaps there is a way to configure this? GDB has the init file where things can be defined. Does perl have anything like this?

Date​: 20 Nov 2002 09​:26​:30 -0000 Managed-BY​: RT 2.0.14 (http​://bestpractical.com/rt/) MIME-Version​: 1.0 X-Mailer​: Perl5 Mail​::Internet v1.51 Content-Disposition​: inline Sender​: \rt@​x1\.develooper\.com RT-Ticket​: perl #17762 Precedence​: bulk Content-Type​: text/plain Reply-To​: perlbug@​perl.org X-RT-Loop-Prevention​: perl From​: "Richard.Foley@​ubsw.com (via RT)" \perlbug@​perl\.org RT-Originator​: Richard.Foley@​ubsw.com Content-Length​: 1718

This is a bug report for perl from warren.dodge@​tek.com\, generated with the help of perlbug 1.34 running under perl v5.8.0.

\ I updated to 5.8 recently and have found one thing that is an annoyance in the debugger. Previously you could be stopped at a breakpoint and type "d" to delete the break point. Now it seems you have to type "B line_num" which is a real pain.

Not sure if this was by design or a problem.

This is by design\, the docs (h and h h) describe the new (consistent) behaviour\, and it was discussed on p5p.

Robert\, you can close this as a non-bug\, if you like\, (I've forgotten my uid/pass again :-)

Richard Foley Ciao - shorter than Aufwiedersehen

--

ps. sorry about the ubs sig. (below) - can't get rid of it\, for the moment :-\

Visit our website at http​://www.ubswarburg.com

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate\, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted\, corrupted\, lost\, destroyed\, arrive late or incomplete\, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.

p5pRT commented 21 years ago

@rspier - Status changed from 'new' to 'resolved'