Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Mon, May 30, 2011 at 09:57:16AM +0200, Andor E wrote:
Hello,
I'm trying to debug an issue with bookmarks in the Writer import
filter. Right now my biggest problem is, that I don't know how to get
information from the UNO reference objects. The import filter uses
cursors and text ranges to insert the bookmarks into the document. I'm
pretty sure, that the problem lies somewhere here, but I can't query
the cursors and text ranges to make sure. Is there a helper function
for gdb or a trick to do this?

FWIW, I have this in ~/.gdbinit :

set print object on

def pu
    print $arg0._pInterface
end
def xu
    if $arg0._pInterface
        print *$arg0._pInterface
    end
end

Then I use

pu xSomething

to get real C++ type of the interface or

xu xSomething

to display it directly.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.