Przeglądanie wątków

Aplikacja może mieć więcej niż jeden wątek wykonania, które współdzielą jedną przestrzeń adresową, co oznacza, że mogą one sprawdzać i zmieniać te same zmienne. Jednak każdy wątek ma własne rejestry, stos wykonania i ewentualnie pamięć prywatną.

Gdy aplikacja wielowątkowa zostanie przerwana, można wyświetlić wątki aktualnie aktywne w aplikacji i przełączać się między nimi w widoku „ Threads ” (1):

Widok wątków

Można również wybrać wątek w polu „ Threads ” (2) na pasku narzędzi debuggera.

Pozwala to wybrać wątek, na którym skupia się debugger.

Widok „Stack ” odpowiednio dostosowuje swoją zawartość.

Zobacz także : Jak: debugowanie, debugowanie i debuggery.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.