The Skia Debugger is a graphical tool used to step through and analyze the contents of the skia picture format. Pre-requisites include installing the Qt Library and downloading the skia code base.
Qt is available here: http://qt-project.org/downloads.
It can also be installed on linux using
sudo apt-get install libqt4-dev
Note that the debugger has been tested with Qt 4.8.4; it is known not to work with Qt 5.0RC1 on the Mac.
Because the debugger uses Qt, you'll need to build skia in 64 bit mode:
cd trunk ./gyp_skia GYP_DEFINES="skia_arch_width=64" make debugger out/Debug/debugger
Depending on how your Qt is installed you may also need to define an environment variable like: GYP_DEFINES=qt_sdk='C:\Qt\4.8.4\' (which needs to be set before you execute 'make gyp').
cd trunk make clean gyp <open solution in VS2010 and build everything>
On Windows, you may need to copy several DLL and PDB files from %QTDIR%\bin into your executable directory (out/Debug or out/Release):
QtCore4.dll QtCored4.dll QtCored4.pdb
QtGui4.dll QtGuid4.dll QtGuid4.pdb
QtOpenGL4.dll QtOpenGLd4.dll QtOpenGLd4.pdb
Producing SKPs for usage
|x||toggles the visibility of the selected command|
|alt-x||clears all hidden commands|
|ctrl-x||shows all deleted commands|
|b||creates a breakpoint on a command|
|alt-b||clears all breakpoints|
|ctrl-b||shows all breakpoints|
|ctrl-r||rewinds the picture to the first command|
|ctrl-p||plays to the next breakpoint or last command|
|ctrl-i||Toggles the inspector and settings widgets|
|ctrl-d||Toggles the directory widget|
|space||Pauses drawing execution|
|ctrl-o||Opens a file dialog for loading pictures|
|ctrl-s||Saves the skp if you deleted any commands|
|ctrl-shift-s||Saves the skp under the new specified name|