all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* perldb still uses the first script name when debugging a 2nd script
@ 2006-05-12  8:43 Klaus Zeitler
  0 siblings, 0 replies; only message in thread
From: Klaus Zeitler @ 2006-05-12  8:43 UTC (permalink / raw)


When I try to debug a 2nd Perl script, emacs still uses the first script name
as default for the perldb command. They only way I could force emacs to
display the 2nd script name was by setting gud-perldb-history to nil (or
by prepending to gud-perldb-history).
For example:

1. load x.pl
2. M-x perldb gives: perl -d /home/kzeitler/x.pl
3. load y.pl
4. M-x perldb still gives: perl -d /home/kzeitler/x.pl

This behavior is nice when the 2nd Perl files is a Module (a .pm file), but
somewhat unexpected for a new script.

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
It is not enough to succeed.  Others must fail.  -- Gore Vidal

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-12  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12  8:43 perldb still uses the first script name when debugging a 2nd script Klaus Zeitler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.