Not able to step into a static lib while debugging in Qt Creator
-
wrote on 26 Nov 2013, 11:56 last edited by
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 ?
-
wrote on 27 Nov 2013, 08:25 last edited by
First thing I checked. As I say, it will step into some of the methods which is why I deleted the build directory and did complete re build in case it was just missing symbols
-
Sorry, I meant that additionally to your application/dll,are you sure that the static library is also in debug mode ?
-
wrote on 27 Nov 2013, 13:29 last edited by
All three things are my code so yes.
-
I forgot to ask, which version of Qt and Qt Creator are you using and on which platform ?
-
wrote on 29 Nov 2013, 22:16 last edited by
Windows 7, Qt 5.1, Creator 2.7.2, Visual Studio 2010
-
Can you update Qt Creator to a more recent version ? Either 2.8.1 or 3.0RC1 ?
-
wrote on 30 Nov 2013, 11:24 last edited by
Been going through chemo, had not appreciated I'd got so out of date. 2.8.1 is behaving exactly the same :-(
-
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)
-
wrote on 2 Dec 2013, 23:38 last edited by
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 ?
-
wrote on 18 Dec 2013, 11:22 last edited by
Sorry for the delay, I took advantage of a last minute invite to go to Egypt :-)
Using Windows 7.
-
Can't blame you :)
In between Qt 5.2 and Qt Creator 3.0 have been released, you should update and retry