more information in backtraces

Andreas Pakulat apaku at gmx.de
Thu Jul 5 14:56:16 BST 2012


Hi,

On Thu, Jul 5, 2012 at 3:39 PM, Dominik Haumann <dhaumann at kde.org> wrote:

> Hi,
>
> in Kate, we have a (virtual) Cursor class:
>
> class Cursor
> {
>   // public functions
>
>   private:
>     int m_line;
>     int m_column
> };
>
> Unfortunately, in backtraces by Dr. Konqi we only get:
> #11 0x00007f1c85128b2a in KateLayoutCache::updateViewCache
> (this=0x54db630, startPos=..., newViewLineCount=35,
> viewLinesScrolled=<optimized out>)
>
> Here, startPos is a Cursor, but we cannot see its values.
>
> It would help tremendously sometimes to know the line/column values. So
> having "startPos=(4, 2)" instead of "startPos=...".
>
> Is there any way to provide this feature to get better backtraces by
> default in Dr. Konqi?
>

It might work with gdb's pretty-printers, but dr. konqi needs to load them
into gdb or the user needs to have a gdb script that loads them
automatically.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120705/379f2b49/attachment.htm>


More information about the kde-core-devel mailing list