Description
I created Debug Server Providers with Generic type and configred it: add Host and Port properties. Than I try run debugging.
Expected: QtCreator will launch gdb and connect it to remote server.
Actual results: QtCreator will try launch empty util for the provider, can't do it, and breaks debugging without starting gdb.
Unlike others, this type (Generic) does not have a path to the executable utility in the settings (as an example, the provider of OpienOCD type launches "openocd" utility). For Generic provider, the QtCreator should not start the utility - it is supposed to be started separately (on remote host, for example). If I look source code, I see that class GenericGdbServerProvider doesn't have function command(), so parent class GdbServerProvider call dummu function:
// file src/plugins/baremetal/debugservers/gdb/genericgdbserverprovider.cpp Utils::CommandLine GdbServerProvider::command() const { return {}; }
When debugging starts, an attempt to execute this empty command returns an error and debugging stops.