Kaydet (Commit) 6bea14a7 authored tarafından Siqi Liu's avatar Siqi Liu

add gdb debugging info on gtktiledviewer

Change-Id: I1460131d25212266b910d76a7713d1e973f7c415
üst 2932bf06
...@@ -86,6 +86,22 @@ once a feature works there, then implement the Android part, with its slower ...@@ -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 development iteration (slow uploading to the device, the need to link all
object files into a single .so, etc). 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 LibreOfficeKitGtk
***************** *****************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment