From: Bob Rossi <bob@brasko.net>
To: Tron Thomas <tron.thomas@verizon.net>
Cc: gdb@sources.redhat.com
Subject: Re: How to step into multi-command statements
Date: Sat, 21 Aug 2004 17:41:00 -0000 [thread overview]
Message-ID: <20040821174121.GA7442@white> (raw)
In-Reply-To: <C96D0103-F397-11D8-8792-000D93C13B70@verizon.net>
On Sat, Aug 21, 2004 at 10:30:25AM -0700, Tron Thomas wrote:
> If I were debugging a program and ran across code like the following:
>
> string text;
> ...
> formatter.DisplayText(text.c_str());
>
> What commands do I use to step into the DisplayText method of the
> formatter object? Stepping into the statement takes me into the code
> for the c_str method of the string class, which I don't care about.
> After getting into this code I'm finding it impossible to get into the
> actual code I want. Instead I end up being going to the next statement
> that follows the call to DisplayText.
You need to 'step', 'finish', 'step', 'finish', until you get to the
function that you want.
Bob Rossi
next prev parent reply other threads:[~2004-08-21 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-21 17:30 Tron Thomas
2004-08-21 17:41 ` Bob Rossi [this message]
2004-08-22 10:53 ` Joel Brobecker
2004-08-23 17:05 ` Andrew Cagney
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040821174121.GA7442@white \
--to=bob@brasko.net \
--cc=gdb@sources.redhat.com \
--cc=tron.thomas@verizon.net \
/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