Well, I have functions and stuff. The quote above was just to show what I'm removing. I want to brake and trace into these functions but the debugger passes over them if I'm just doing something like this:
#include <iostream>
#include "mylib.h>
int main(int argc, char *argv[])
{
doSomething();
cout << "something";
doSomething2();
return 0;
}
The debugger works on the following as expected:
#include <QtCore/QCoreApplication>
#include "mylib.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
doSomething();
cout << "something";
doSomething2();
return a.exec();
}
The same code in VS has no problems. So I guess it is a Qt Creator feature.
Bookmarks