This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Insight - weird behavior
- From: "Dusan Hudecek" <dusan dot hudecek at centrum dot cz>
- To: <insight at sourceware dot org>
- Date: Sun, 20 Mar 2011 13:57:07 +0100
- Subject: Insight - weird behavior
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