Insight - weird behavior

"Dusan Hudecek" <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.