From 6bea14a701d1b9d4442e442dd5fe1ddb8c4c4aba Mon Sep 17 00:00:00 2001 From: Siqi Liu Date: Tue, 14 Apr 2015 21:14:46 +0200 Subject: add gdb debugging info on gtktiledviewer Change-Id: I1460131d25212266b910d76a7713d1e973f7c415 --- libreofficekit/README | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'libreofficekit/README') diff --git a/libreofficekit/README b/libreofficekit/README index 8e32e6237442..669cb8051f54 100644 --- a/libreofficekit/README +++ b/libreofficekit/README @@ -23,7 +23,7 @@ functionality as in LibreOfficeKit.h.) An example program (currently using the older shim.c/static library integration) can be seen on: -https://github.com/ojwb/lloconv +https://github.com/ojwb/lloconv Tiled Rendering --------------- @@ -86,6 +86,22 @@ once a feature works there, then implement the Android part, with its slower development iteration (slow uploading to the device, the need to link all object files into a single .so, etc). +* Debugging with gdb and gtktiledviewer + +To run gtktiledviewer: + + bin/run gtktiledviewer $PWD/instdir/program path/to/test.odt + +To receive all incoming evetns from core use G_MESSAGES_DEBUG=all + + G_MESSAGES_DEBUG=all bin/run gtktiledviewer $PWD/instdir/program ../test.odt + +To debug with gdb: + + export LO_TRACE='gdb --tui --args' + +before bin/run, this will run gtktiledviewer in the debugger instead. + LibreOfficeKitGtk ***************** -- cgit