Skip to content

Instantly share code, notes, and snippets.

View rudro's full-sized avatar

Rudro Samanta rudro

  • Uber
  • San Francisco
View GitHub Profile

Debugging the Swift Toolchain

Use these steps to debug components of the Swift toolchain. This allows you to see Swift's source code from the debugger – instead of disassembly. The debugger can also provide some variable names and values. This has been initially tested with libswiftCore.dylib.

These instructions were updated as of Swift 5.2.1.

Prerequisites