Почніть налагодження з командного рядка
Ви можете використовувати інтерфейс відладчика « Qt Creator » з командного рядка. Щоб підключити його до запущеного процесу, вкажіть ідентифікатор процесу як параметр для опції « -debug ». Щоб проаналізувати файл core, вкажіть ім’я файлу. Команда « Qt Creator » виконає всі необхідні дії, наприклад, пошук бінарного файлу, до якого належить файл core. Щоб підключитися до сервера налагодження, вкажіть розташування сервера та номер порту.
Наприклад:
C:\qtcreator\bin>qtcreator -debug 2000C:\qtcreator\bin>qtcreator -debug core=core.2000C:\qtcreator\bin>qtcreator -debug some.exe,core=coreC:\qtcreator\bin>qtcreator -debug server=some.dot.com:4251
Див. також «Як: налагодження», «Налагодження», «Налагоджувачі» та «Параметри командного рядка».
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.