Setting Up DebuggerTypically, the interaction between Qt Creator and the native debugger is set up automatically and you do not need to do anything. However, you might have an unsupported gdb version installed, your Linux environment might not have gdb installed at all, or you might want to use the debugging tools for Windows. Note: To use the debugging tools for Windows, you must install them and add the Symbol Server provided by Microsoft to the symbol search path of the debugger. For more information, see Setting the Symbol Server in Windows. This section explains the options you have for debugging C++ code and provides installation notes for the supported native debuggers. Supported Native Debugger VersionsThe debugger plugin supports different builds of the gdb debugger, both with and without the ability to use Python scripting. The Python enabled versions are preferred, but they are not available on Mac and on older versions of Linux. On Windows, Symbian, and Maemo, only the Python version is supported. The non-Python versions use the compiled version of the debugging helpers, that you must enable separately. For more information, see Debugging Helper Library with C++. The Python version uses a script version of the debugging helpers that does not need any special setup. The CDB native debugger has similar funtionality to the non-Python gdb debugger engine. Specifically, it also uses compiled C++ code for the debugging helper library. The following table summarizes the support for debugging C++ code:
Installing Native DebuggersThere are various reasons why the debugger plugin may fail to automatically pick up a suitable native debugger. The native debugger might be missing (which is usually the case for the CDB debugger on Windows which always needs to be installed manually by the user) or the installed version is not supported. Check the table below for the supported versions and other important information about installing native debuggers.
Setting the Symbol Server in WindowsTo obtain debugging information for the operating system libraries for debugging Windows applications, add the Symbol Server provided by Microsoft to the symbol search path of the debugger:
Note: Populating the cache might take a long time on a slow network connection.
X
|
Publicité
Best OfActualités les plus luesSemaine
Mois
Année
Le blog Digia au hasard![]() Déploiement d'applications Qt Commercial sur les tablettes Windows 8Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.
CommunautéRessources
Liens utilesContact
Qt dans le magazine |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtcreator-2.0 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter contacter par email ou par MP ! |
Copyright © 2000-2012 - www.developpez.com