How get that step into (F5) work with Qt exec mthod ? [message #1819500] |
Thu, 16 January 2020 06:43  |
Eclipse User |
|
|
|
I am trying to debug with Eclipse a C++ application that uses Qt.
The source code of interest in the main class is:
int rCod = 0;
MyClass myapp(argc, argv);
myapp.processParams(argc, argv)
myapp.startapp();
rCod = myapp.exec();
Where:
MyClass inherits from QCoreApplication, that is defined on /home/myuser/Qt5.6.3/5.6.3/gcc_64/include/QtCore/qcoreapplication.h
MyClass::MyClass is the class constructor
MyClass::processParams and MyClass::startapp are public methods.
When I debug this application using Eclipse and press F5 (step into) I can see the source code that is going to be
executed in processParams and startapp methods, but when the next insttruction to execute is
rCod = myapp.exec();
and I press F5, I can not see the code being executed.
How can I solve this?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03217 seconds