[Qt-creator] GDB is so slow whendebuggiong QtCreator

Cristian Adam cristian.adam at qt.io
Fri Jun 21 23:50:18 CEST 2024


Hi,

At Qt Creator debugger, very slow | Qt Forum<https://forum.qt.io/topic/112648/qt-creator-debugger-very-slow/6?_=1719006446210> we have this piece of advice:

echo "set index-cache on" >> ~/.gdbinit

Or you can set the command in Preferences > Debugger > GDB > Additional Startup Commands.

Cheers,
Cristian.

________________________________
From: Qt-creator <qt-creator-bounces at qt-project.org> on behalf of Jochen Becher via Qt-creator <qt-creator at qt-project.org>
Sent: Friday, June 21, 2024 21:51
To: qt-creator at qt-project.org <qt-creator at qt-project.org>
Subject: [Qt-creator] GDB is so slow whendebuggiong QtCreator

Hi,

GDB in QtCreator is not always slow but when I used it to debug
QtCreator itself (currently in QbsProjectManager) it is so slow on
updating the local variables - at least that is spinning about 1 minute
on each step.

I am not aware of any settings that I did to make it slow. Is there
anything I can verify? Or is it just a GDB issue?

Regards, Jochen
--
Qt-creator mailing list
Qt-creator at qt-project.org
https://lists.qt-project.org/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20240621/3be71fd0/attachment.htm>


More information about the Qt-creator mailing list