Not able to step into a static lib while debugging in Qt Creator
-
I have an exe calling a dll which calls methods from a static lib. All of a sudden I cannot step into the methods in the static lib when debugging. A collogue has experienced this but is not currently experiencing it with the same code as me so am wondering if there is a setting I am missing? None of the tool bar buttons work (step in, step out, step over). Having looked on the internet I can only see people asking about not being able to step into Qt dlls which is not what I need, all of the code is ours.
It steps into some methods but not others, notably one I have just added - I tried deleting the build directories and rebuilding the whole lot in case it was just symbols not being generated but no joy.
-
Hi,
Are you sure your library as well as your application are built in debug mode ?
-
Sorry, I meant that additionally to your application/dll,are you sure that the static library is also in debug mode ?
-
I forgot to ask, which version of Qt and Qt Creator are you using and on which platform ?
-
Can you update Qt Creator to a more recent version ? Either 2.8.1 or 3.0RC1 ?
-
Sorry for that and hope you'll get better.
Strange, I just had it working but maybe it was with 5.1.1
The speed is up, Qt 5.2 and Qt Creator 3.0 are almost out, if you are adventurous you can try both RC1 (5.2 requires now Creator 3)
-
No that did not work. If I move the call to the function I want to step through to after all the QML stuff has loaded can then step into it but the call is then in the wrong place so I am going to have to study this further. I never used to have a problem stepping into this code and it has not changed in a long time so I am very confused.
-
By the way, what OS are you on ?
-
Can't blame you :)
In between Qt 5.2 and Qt Creator 3.0 have been released, you should update and retry