swiftdt (Swift Debug Tool)
This is a tool which can inspect a Swift process and dump information about the Swift runtime in that process.
It currently supports inspecting two kinds of information:
- It can dump the protocol conformance cache.
- It can dump all metadata allocations, and print the name and size of the metadata allocated by the generic metadata cache.
It’s meant to grow more functionality over time.
The design of the tool places all of the runtime-related smarts in Remote Mirror.
swiftdt
is then a small that connects the Remote Mirror functionality with remote process inspection.