← See all notes

Table of Contents

Zig

Learning Resources 🔗

Blog posts / Tips 🔗

Packages 🔗

Snippets 🔗

Debugging with Xcode 🔗

  1. Open Xcode
  2. Debug > Attach to Process OR Debug > Debug Executable…
    1. Options > Console > Xcode (with Standard Input) — if needed
    2. Set breakpoints with + + \\

Debugging with lldb 🔗

Watcher 🔗

$ zig build check -fincremental --watch
$ zig build -fincremental --watch

# Maybe use watchexec?
$ watchexec -e zig "zig fmt . && zig check . && zig test ."