Details
Description
Hi, this is my first bug report.
I'm debugging an application which loads many libraries.
To speed up debugging I've disabled automatic symbol loading with GDB command:
set auto-solib-add off
(Set in Project -> Run -> Debugger Settings -> Additional startup commands)
Then I'd like to load symbols from a subset of the shared libraries (for example Qt5Core.dll and other Qt related libraries). This can be done with GDB command:
sharedlibrary Qt5Core.dll
But it needs to be executed AFTER the inferior is started.
There is a global GDB settings called "Additional Attach Command" which would do this but it works only for remote targets. Instead I'm debugging a locally compiled program.
Can this setting made to work also for local debugged applications?
Looking at the source code doesn't seem to difficult but I took only a quick look.{}
A similar issue was opened some years ago QTCREATORBUG-16351 but it was closed.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-28764 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
458644,3 | Debugger: run GDB post attach commands also for local inferiors | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |