unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "avilella" <avilella@gmail.com>
Subject: perldb continue and x @foo
Date: 14 Jun 2006 08:57:43 -0700	[thread overview]
Message-ID: <1150300663.222424.107920@p79g2000cwp.googlegroups.com> (raw)

Hi all,

I am using perldb under Emacs, and for a long time I have wondered if
there is a way to do trigger more than one statement at the same line.

For example:

Let's say I have a breakpoint at a place in my code, and at some point
I want to do a:

DB<2> c

and after that I want to print the contents of something, like:

DB<2> x @foo

and I want to do this all over again, and again.

Is there a way to do that in one line?

Something like:

DB<2> c ; x @foo

At some point, then I will be able to do something like:

DB<2> c ; x @foo; c ; x @foo2; c x @foo3 ; c; x @foo4; n; x @bar; n; n;
x @bar2

or anything more complicated...

I'm sure there is a Emacs/Perl guru out there that knows how to do
that, in a way or another.

Thanks in advance,

Bests,

    Albert.

                 reply	other threads:[~2006-06-14 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1150300663.222424.107920@p79g2000cwp.googlegroups.com \
    --to=avilella@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).