public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Dusan Hudecek" <dusan.hudecek@centrum.cz>
To: <insight@sourceware.org>
Subject: Insight - weird behavior
Date: Sun, 20 Mar 2011 12:57:00 -0000	[thread overview]
Message-ID: <20110320135707.3064A9ED@centrum.cz> (raw)


Greetings,

 

my name is Dusan Hudecek and I wanted to use something better then console GDB for debugging. I downloaded Insight and tried to debug my application with it.

It looked great but I noticed a wierd behaivor. When I compiled my code using -ggdb and then opened application by Insight I could not make a breakpoint in many methods.

So I  tried to find what caused that problem.

Finally I ended up with this example code:

#include 
#include 

using namespace std;

class Test
{
 string x;
 string y; // if commented then it is possible to make breakpoints in "main" function
};

int main(int argc, char **argv)
{
 cout

                 reply	other threads:[~2011-03-20 12: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

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

  git send-email \
    --in-reply-to=20110320135707.3064A9ED@centrum.cz \
    --to=dusan.hudecek@centrum.cz \
    --cc=insight@sourceware.org \
    /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).