This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]