diff options
author | Siqi Liu <me@siqi.fr> | 2015-04-14 21:14:46 +0200 |
---|---|---|
committer | Siqi Liu <me@siqi.fr> | 2015-04-14 21:15:05 +0200 |
commit | 6bea14a701d1b9d4442e442dd5fe1ddb8c4c4aba (patch) | |
tree | f66cc75f020dd61d3cc76a9e4f280fe0e13373ff /libreofficekit/README | |
parent | 2932bf06be3676af81c9433eb99372031080b636 (diff) |
add gdb debugging info on gtktiledviewer
Change-Id: I1460131d25212266b910d76a7713d1e973f7c415
Diffstat (limited to 'libreofficekit/README')
-rw-r--r-- | libreofficekit/README | 18 |
1 files changed, 17 insertions, 1 deletions
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 ***************** |