---
title: "DebugSnapshots: Public beta"
url: https://daily.dev/posts/debugsnapshots-public-beta-qmp8egjc2
source_url: https://www.pointfree.co/blog/posts/207-debugsnapshots-public-beta
type: article
source: "Point-Free Pointers"
published: 2026-05-27T00:02:00.345Z
updated: 2026-05-27T00:02:25.242Z
tags: ["testing", "swift", "swiftui"]
reading_time: 6
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# DebugSnapshots: Public beta

**[Point-Free Pointers](https://daily.dev/sources/pointfree)** · 6 min read · 1 upvotes · 0 comments

## Summary

DebugSnapshots, a Swift library from Point-Free, has entered public beta. It provides debugging and exhaustive testing tools for reference types, particularly @Observable classes in SwiftUI apps. The @DebugSnapshot macro generates a snapshot value representing model state, enabling diff-based logging of state changes on every method call via OSLog (debug builds only). For testing, the expect() function allows exhaustive assertions on state transitions — if any unaccounted state changes occur, the test fails with a focused diff. The library supports fine-grained control via @LogChanges, @DebugSnapshotTracked, @DebugSnapshotIgnored, and @DebugSnapshotConvertible macros, and handles nested models and enums. It uses the CustomDump library under the hood for focused diffs on large collections.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.pointfree.co/blog/posts/207-debugsnapshots-public-beta>

## Similar posts on daily.dev

- [Beta Preview: DebugSnapshots](https://daily.dev/posts/beta-preview-debugsnapshots-bzx1spcku) · Point-Free Pointers · 0 upvotes · 0 comments
- [DebugSnapshots now logs SwiftUI bindings](https://daily.dev/posts/debugsnapshots-now-logs-swiftui-bindings-3vonnuunx) · Point-Free Pointers · 0 upvotes · 0 comments
- [Introducing: Point-Free Beta Previews](https://daily.dev/posts/introducing-point-free-beta-previews-caohf7a5h) · Point-Free Pointers · 0 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/debugsnapshots-public-beta-qmp8egjc2)
