Hi,

I'm having problems with debugging stuff in qt creator.

I write a simple test app:
Qt Code:
  1. int main(int argc, char** argv)
  2. {
  3. QApplication app(argc, argv);
  4. QLabel* lol = new QLabel("test");
  5. lol->show();
  6. return app.exec();
  7. }
To copy to clipboard, switch view to plain text mode 

Then I set a breakpoint on any of the lines (or even on all lines) and run the debugger. It skips right through all the breakpoints and enters the main loop. If I then pause the execution and look at the stack trace, it shows the main function is at line 0 and is grayed out, like this: http://i.imgur.com/3EZ3g.png . Double clicking it takes me to the assembly view.

What's going on?