[Qt-creator] Debugging with Qt Creator 1.0
Andre Poenitz
andre.poenitz at mathematik.tu-chemnitz.de
Wed Mar 11 22:00:55 CET 2009
On Wed, Mar 11, 2009 at 09:27:08PM +0100, Markus Franke wrote:
> Dear all,
>
> I would like to use a different gdb from within Qt Creator in order to
> do remote debugging by means of using gdb/gdbserver. When I set the
> debugger to my own GDB debugger in "Tool->Options->Debugger->GDB
> location" and start debugging afterwards I get a message box saying:
>
> ---snip---
> Starting executable failed!
> <PATH_TO_BINARY><BINARY_NAME>\r: No such file or directory!
> ---snap---
>
> The variables in brackets are just placeholders for my path and binary
> name. The problem is the "\r" which get's added to that string and
> this might lead to the error.
>
> Any comments on this?
I haven't seen this, and there is no Creator code that could cause
this directly. The contents of the line edit is passed directly to
QProcess::start().
As a workaround you could try to make a copy/link of the gdb executable
with the 'wrong' name.
What platfom is this btw? Any chance that this is Windows and an "alien"
shell interfering?
> Which GDB versions are supported by Qt Creator. I want to use GDB 6.0.
Tested are 6.8 on Linux, 6.7.50 on Windows, and 6.3 on MacOS 10.4 and 10.5.
I doubt that anything before 6.3 has a chance to work.
Andre'
More information about the Qt-creator-old
mailing list