QtCreator no debugger set up (Windows)

前端 未结 3 1234
耶瑟儿~
耶瑟儿~ 2020-12-17 16:17

I am trying to use Qt creator on Windows, and when I try to Start Debugging, it says \"No debbuger set up\". How do I configure it?

3条回答
  •  天涯浪人
    2020-12-17 16:54

    This is documented in the Qt Reference Documentation on Setting up the Debugger.

    You'll need to install the Debugging tools for Windows (installing the Windows SDK provides this) which will give you the cdb.exe debugger. You may or may not encounter an issue when installing the Windows SDK and require this work around: Error when installing windows SDK 7.1

    Now, start Qt Creator and go to Tools -> Build & Run -> Debuggers, verify that you now see Auto-detected CDB. Then go to the Kits tab select Manual -> Desktop and change the Debugger value to the Auto-detected CDB.

    Now start your project in Debug mode (F5).

提交回复
热议问题