solenv/gdb/libreoffice/cppu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 3a994cd0b649df5233d8a23b4672f6a88d7599f5 Author: Miklos Vajna <vmik...@suse.cz> Date: Wed Apr 10 14:38:58 2013 +0200 gdb: make uno::Reference output shorter The original idea to dereference the implementation and show all details sounded nice, but now printing any UNO object that is a bit more complex results in a multi-page output, which makes getting backtraces really hard. Better to just show the dynamic type and the pointer. Change-Id: I340a31b27b059c3d03d9e537de519e286af2e50f diff --git a/solenv/gdb/libreoffice/cppu.py b/solenv/gdb/libreoffice/cppu.py index 83c4bff..c60e125 100644 --- a/solenv/gdb/libreoffice/cppu.py +++ b/solenv/gdb/libreoffice/cppu.py @@ -64,8 +64,7 @@ class UnoReferencePrinter(object): iface = self.value['_pInterface'] if iface: try: - impl = iface.cast(iface.dynamic_type).dereference() - return '%s to %s' % (self.typename, str(impl)) + return '%s to (%s) %s' % (self.typename, str(iface.dynamic_type), str(iface)) except: # fallback for potential problem: # base class 'com::sun::star::uno::XInterface' is ambiguous _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits