From: Gene Smith <gds@chartertn.net>
To: insight@sources.redhat.com
Subject: Balloon bug? (changes b when b--)
Date: Wed, 15 Dec 2010 04:11:00 -0000 [thread overview]
Message-ID: <ie9f48$ms2$1@dough.gmane.org> (raw)
I have test code that looks like this in insight:
1 int main (void)
- 2 {
- 3 int a = 0;
- 4 int b = 10;
5
- 6 while (b--)
7 {
- 8 a = a + 1;
9 }
10 /* should be 10 */
- 11 return a;
- 12 }
It appeared that "b" was sometimes decrementing by more than 1 as I
stepped through. So sometimes "a" would result in less than 10. I found
that the balloon inspection (by holding the mouse over the variable) was
causing b to decrement if I touched the --. I don't think I have ever
seen this before using insight. This is version 6.8.
-gene
reply other threads:[~2010-12-15 4:11 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ie9f48$ms2$1@dough.gmane.org' \
--to=gds@chartertn.net \
--cc=insight@sources.redhat.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).