Anslut felsökaren till processer som startar

Så här gör du för att instruera felsökaren att övervaka en applikationsprocess och ansluta till den när den startar:

  1. Gå till Debug > Start Debugging > Attach to Unstarted Application.

    Dialogrutan ”Koppla till program som inte har startats”

  2. I Kit väljer du det bygg- och körkit som ska användas för att bygga projektet.
  3. I Executable anger du sökvägen till applikationens körbara fil.
  4. Välj Reopen dialog when application finishes för att återgå till den här dialogrutan när programmet stängs.
  5. Välj Continue on attach för att instruera felsökaren att hålla applikationen igång efter att den har anslutits till den.
  6. Välj ” Start Watching ” för att vänta på att applikationsprocessen ska starta.

Se även Aktivera kit för ett projekt, Så här gör du: Felsökning, Felsökning och felsökare.

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.