Hi,

In order to overcome the problems of the current  MSVC Debugging Engine  
(speed, limited display of data types), work on a new debugging engine has 
been started. You are very welcome to give it a try. 

As before, you need an installation of the "Debugging Tools for Windows". The 
master branch of Qt Creator should ideally be compiled using a version of the 
Microsoft Visual C++ Compiler that matches the Debugging Tools for Windows 
installation (32bit Debugging Tools -> 32 bit compiler, (64bit Debugging Tools 
-> 64 bit compiler). 

The new engine will then show up in the Debugger Settings as 'CDB (new, 
experimental)'. It will set itself up automatically provided a valid 
installation is found. To do it manually, check the group box and click 
Autodetect - it should display the path to the executable cdb.exe of the 
"Debugging Tools for Windows". 

You should then be all set up. It is advisable keep an eye on the debugger log 
(Window/Views/Debugger Log in Debug mode). 
Currently, it should be able to display string classes, most QVariant’s and 
some containers, allowing for inspection of the inner types. The start-up time 
for bigger projects should be considerably reduced. 

Should you experience any problems with it, just disable the engine by 
unchecking the group box under 'CDB (new, experimental)'. The old engine will 
then be used as before.

Technically speaking, we no longer link to the "Debugging Tools for Windows" 
directly but control the cdb.exe process (as we do with gdb.exe), which has an 
extension library (qtcreatorcdbext.dll) loaded. The extension library is 
located under lib\qtcreatorcdbext64 or lib\qtcreatorcdbext32, respectively. 
It is thus decoupled from the UI and lock-ups should no longer occur.
It also enables us to control a 64bit cdb.exe from Qt Creator built with 32 
bit and vice versa – all it takes is to recompile the extension library 
(qtcreatorcdbext under src/libs/qtcreatorcdbext) with the right compiler. The 
extension library does not require Qt. We recommend using the 64bit "Debugging 
Tools for Windows" on a 64 bit OS.

Happy debugging,

Regards,
Friedemann
-- 
Friedemann Kleint
Nokia, Qt Development Frameworks
_______________________________________________
Qt-creator mailing list
Qt-creator@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to