© Radoslava Leseva Adams and Hristo Lesev 2016

Radoslava Leseva Adams and Hristo Lesev, Migrating to Swift from Flash and ActionScript, 10.1007/978-1-4842-1666-8_8

8. Debugging and Testing Your App

Radoslava Leseva Adams and Hristo Lesev2

(1)London, UK

(2)Kazanlak, Bulgaria

Migrating your workflow to Xcode and Swift would not be complete without an overview of the tools available to help you diagnose issues, debug and test your code.

In this chapter you will do the following:

  • See how to use Xcode’s debug gauges to track your app’s usage of CPU, energy, memory and other system resources.

  • Learn about setting up different types of breakpoints.

  • Try out debugger commands.

  • Implement a workaround for the Memory view issue we discovered in Chapter 3 .

  • See techniques ...

Get Migrating to Swift from Flash and ActionScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.