[Qt-creator] qtc/gdb wooes

André Pönitz apoenitz at t-online.de
Fri Feb 8 21:55:42 CET 2019


On Fri, Feb 08, 2019 at 11:27:56AM +1300, Christian Gagneraud wrote:
> Hi there,
> 
> QtC is behaving very strangely when trying to debug a remote linux app.
> My qmake project is a very simple demo, i just have a main.cpp,
> application.cpp and mainwindow.cpp, cross compiled to arm-linux using
> custom toolchains, custom gdb too.
> 
> When I insert a breakpoint, gdb doesn't stop on it. and QtC is lost.
> Clicking on the breakpoint in the debugger 'breakpoints' view gives me
> a error popup:
> 
> Could not open ""/home/chgans/Projects/bolt-demos/embedded/mainwindow.cpp":48"
> for reading. Either the file does not exist or you do not have the
> permissions to open it.

Please open a bug report at bugreports.qt.io and attach the debugger
log (Contents of right pane of Windows->Views->Debugger Log) taken
at a time when this breakpoint is not hit.

> I checked the 'Global debugger log' view, but didn't find clue.
> Is there a way to activate some QtC internal logging?

There is no extra debugger logging except for the debugger log.

Andre'



More information about the Qt-creator mailing list