Debugger and inlined functions
Vladimir Prus
ghost at cs.msu.su
Thu Nov 16 08:50:29 UTC 2006
On Thursday 16 November 2006 01:04, Andreas Pakulat wrote:
> Hi,
>
> this is mainly meant for ghost: Is it right that gdb can't execute
> inlined functions? I'm experiencing problems with the Qt3 container
> classes and the functions size(), count(), first/front() (for valuelist)
> and also the operator[].
That's right. If the function is inlined and there's no out-of-line copy, gdb
does not have an address to call.
> Especially for something like QMap<QString, QStringList> those are
> needed because there's no other way to check the values inside the
> qstringlist. (printqmap from kdesdk only prints the references of the
> qstring and the qstringlist, not their values).
>
> Any hints wether/how I can improve the debugger experience are welcome.
I'm afraid this might require making gcc always emit non-inlined copy :-(
- Volodya
More information about the KDevelop-devel
mailing list