|
|
Task Dependencies
|
|
|
=================
|
|
|
|
|
|
In the debugging checks mode, Swift is able to produce [dot](http://www.linuxdevcenter.com/pub/a/linux/2004/05/06/graphviz_dot.html) files which can be transformed to png. Below is an example of graph.
|
|
|
![graph](/uploads/d94a95700ef1a067bb40c63e946dc4ed/graph.png)
|
|
|
|
|
|
How to Produce Them
|
|
|
-------------------
|
|
|
|
|
|
First compile swift with the option '--enable-debugging-checks' and run the code (until getting a message "Writing dependencies").
|
|
|
|
|
|
Then you just need to run the command 'dot -Tpng dependency_graph.dot -o dependency_graph.png' in order to generate the image. |
|
|
\ No newline at end of file |