[solved]How to break into C++ code?
-
wrote on 10 May 2011, 21:52 last edited by
I am using Creator 2.1. I have set break point inside my cpp code. After I hit F5, it break at the Disassebler(), not my cpp code. What is wrong? How to set it to break in the c++ code?
-
wrote on 10 May 2011, 22:38 last edited by
Use Qt 2.2 RC, On the GUI, there is little button for switch operation mode. Toggleing it will switch between disassembler and c++ code.
But I do not know how to set it in other way
-
wrote on 10 May 2011, 22:59 last edited by
/off "QtCreator 2.2 has a final version.":https://developer.qt.nokia.com/wiki/QtCreator2.2Download
-
wrote on 11 May 2011, 07:40 last edited by
You might want to check, if that part of source with the break point has been compiled in debug mode.
Coming from MSVC and used to have all my libs also in debug, I found it a little strange that you can mix debug code with some own release libs.Certainly it is best to follow also secretNinja's advice and use the final version of Qt creator.
-
wrote on 29 Jun 2011, 22:31 last edited by
Could well be the debugger stopped not in the thread you are expecting. Check the threads view whether some other thread looks better.