Important: Please read the Qt Code of Conduct -

sdktool rmDebugger does not remove debugger from list

  • Hello,

    I am using QtCrator 4.5.1 and trying to add a kit.

    I have been able to add the ToolChain; noticed they are auto-detected which is fine, the rmTC command makes them manual and thus removeable.

    I am having an issue with rmDebugger

    c:\Qt\Tools\QtCreator\bin\sdktool addDebugger ^
    --id "linaro.gdb" ^
    --name "GDB (company, product)" ^
    --engine 1 ^
    --binary C:\Qt\QtSupport\debugger\gdb-arm-none-linux-gnueabi.exe ^
    --abis arm-linux-generic-elf-32

    c:\Qt\Tools\QtCreator\bin\sdktool rmDebugger --id "linaro.gdb"
    Error: Id was not found.

    From debuggers.xml in c:/Users/admin/AppData/Roamimg/QtProject/qtcreator

    <valuemap type="QVariantMap">
    <valuelist type="QVariantList" key="Abis">
    <value type="QString">arm-linux-generic-elf-32bit</value>
    <value type="bool" key="AutoDetected">true</value>
    <value type="QString" key="AutoDetectionSource"></value>
    <value type="QString" key="Binary">C:/Qt/QtSupport/debugger/gdb-arm-none-linux-gnueabi.exe</value>
    <value type="QString" key="DisplayName">GDB (company, product)</value>
    <value type="int" key="EngineType">1</value>
    <value type="QString" key="Id">linaro.gdb</value>
    <value type="QDateTime" key="LastModified"></value>
    <value type="QString" key="Version">7.4.0</value>
    <value type="QString" key="WorkingDirectory"></value>

    So, why can I not delete the debugger, or at least move it to the manual section where I can hopefully remove it?

    Also, I tried removing the entire block from the xml file, but when I launch Qt Creator and go to Tools --> Options, the debugger shows up and is also restored to the xml file. Where is it reading that configuration information from and how can I remove it.