Monday, May 11, 2020 [Tweets] [Favorites]

swiftdt (Swift Debug Tool)

Mike Ash (via Joe Groff):

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:

  1. It can dump the protocol conformance cache.
  2. 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.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment