2015-11-06 19:29:06 +00:00
|
|
|
Skia Debugger
|
|
|
|
=============
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
------------
|
|
|
|
|
|
|
|
The Skia Debugger is a graphical tool used to step through and analyze the
|
2016-07-06 13:10:25 +00:00
|
|
|
contents of the Skia picture format. The tool is available online at
|
|
|
|
[https://debugger.skia.org](https://debugger.skia.org/) or can be run locally.
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
Building and running locally
|
2015-11-06 19:29:06 +00:00
|
|
|
--------------------
|
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
Begin by following the instructions to
|
|
|
|
[download and build Skia](../../user/quick), then simply build and run the
|
|
|
|
`skiaserve` tool:
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
<!--?prettify lang=sh?-->
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
# Build.
|
2016-09-26 19:49:06 +00:00
|
|
|
ninja -C out/Release skiaserve
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
# Run the debugger locally
|
|
|
|
out/Release/skiaserve
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-06 13:10:25 +00:00
|
|
|
After running `skiaserve`, follow the instructions to open the debugger in your
|
|
|
|
local browser. By default the address will be `http://127.0.0.1:8888`.
|
2015-11-06 19:29:06 +00:00
|
|
|
|
2016-07-07 21:48:52 +00:00
|
|
|
![Debugger interface](/dev/tools/onlinedebugger.png)
|