December 2018
Intermediate to advanced
414 pages
10h 19m
English
Now that we've properly configured our project, let's take a look at the tool itself.
Let's use the following code, for the sake of having a simple, working command-line Hello World! application:
class Hello { func world() { print("Hello, World!") }}let hello = Hello()hello.world() // set a breakpoint here
The preceding code is pretty simple; it just prints Hello, World! in the console.
With a breakpoint set on the hello.world() line, run your program, and, in the Debug toolbar, hit the icon that looks like a graph. It will open the Memory Graph Hierarchy tool:

You can also access it from the debug navigator ...
Read now
Unlock full access