Apple’s Xcode 27.3 Beta 2 release notes describe xctrace triage as a way to generate a hang report from a trace and combine data from multiple instruments. That makes the report an investigation entry point—not an automatic root-cause diagnosis. Use it to narrow what to inspect, then confirm the cause against the trace, reproduction steps, and code.
Who this is for: You have an app hang and an Instruments trace, but need a more focused place to start.
Small teams can also use this workflow to keep trace files, reports, and fix evidence together.
If you need a separate macOS environment for Xcode work, the final section explains what that can and cannot replace.
Last updated: 2026. Feature status checked against Apple’s Xcode 27.3 release notes and Apple’s Instruments documentation.
Before capture: define the hang you need to explain
Start by describing the user-visible failure in terms another developer can reproduce. “The app feels slow” is not specific enough to guide a useful capture. Record the screen, the action immediately before the stall, what the user sees, and what action restores responsiveness, if any.
Keep three performance problems separate:
- A hang: The interface stops responding during an interaction. The investigation should focus on the interval that matches the visible stall and the work or waiting associated with it.
- Slow launch: The delay happens while the app is starting. Capture the launch path and identify when the user-visible delay occurs; do not assume it is the same issue as an in-app hang.
- A CPU hotspot: A function consumes processor time, but that fact alone does not show that the interface became unresponsive. A high-activity region and a user-visible hang are related only if the trace and reproduction connect them.
Apple’s hang-analysis tutorial for Instruments frames hang analysis around the recorded trace and the relevant time range. Use that distinction to set a specific investigation goal: explain a particular interaction, rather than find any expensive-looking function in the recording.
Can xctrace triage analyze a hang that has not been recorded? No. The feature works from a trace; it cannot recreate the user action or collect missing evidence. First make the failure reproducible enough to capture. If the app did not visibly hang during recording, the resulting report cannot stand in for a capture of the missing event.
Before opening Instruments, write a short reproduction note. Include the app build identifier, device and operating-system context, starting state, exact user action, and what counts as “the hang happened.” Keep the note factual: “tap Save, spinner remains, controls stop responding” is more useful than “saving is slow.”
Apple’s guide to identifying a hang can help distinguish a responsiveness problem from a general impression of slowness. That matters because the wrong symptom definition often produces a trace that is technically valid but does not answer the developer’s question.
During capture: record a trace that matches the reproduction
Open the project and use Instruments to record the smallest repeatable path that includes the affected interaction. Avoid adding unrelated navigation or background activity unless the issue depends on it. A trace with extra activity can make the event harder to isolate and can tempt the investigator to compare unrelated intervals.
Record the conditions alongside the trace. At minimum, preserve the app build identifier, target device, operating-system context, reproduction steps, and whether the app was launched fresh or continued from an existing state. If any of those differ between captures, note the difference instead of treating the files as a direct before-and-after pair.
| Capture choice | Use it when | Decision consequence |
|---|---|---|
| One focused reproduction | The hang follows a repeatable user action | Easier to align the visible stall with the relevant trace interval |
| A broader session | The issue depends on earlier navigation or app state | Preserve the setup path so a reviewer can distinguish setup work from the reported hang |
| Separate captures for different conditions | Device, build, or app state changes | Compare like with like; do not attribute a difference to the code change if the capture conditions also changed |
Apple’s Instruments documentation describes using recorded performance data to investigate behavior. The practical boundary is important: a trace reflects the app and conditions that were recorded. A trace from one device or build does not establish how a different device or build behaves.
Capture note: Keep the original trace unchanged. If you need to trim or otherwise transform a recording for sharing, preserve the original and record what changed. A reviewer should be able to return to the source evidence.
Do not invent a recording duration or a universal set of instruments for every hang. Choose the relevant Instruments views for the symptom and project, and keep the capture focused enough to review. Apple’s main-thread activity tutorial is useful when the investigation needs to follow work on the main thread; it does not mean every hang must originate there.
In the report: use xctrace triage as an investigation index
Apple’s Xcode 27.3 Beta 2 release notes describe xctrace triage as generating a report for hangs in a trace and combining information from multiple instruments. That is the core feature to evaluate. It can bring relevant observations together, but the report is not a declaration that one function or line of code caused the hang.
How does xctrace triage generate a hang report from a trace? Provide it with an existing trace using the syntax supported by the installed Xcode version, then review the generated report alongside that trace. Because the documented capability is tied to a Beta release, do not copy an unverified command line from another machine or assume every option is unchanged. Check Apple’s Xcode command-line tool reference and the tool’s own help in the target environment before running it.
The following is an evidence template, not actual tool output:
Case: [short reproduction label]
App build: [build identifier]
Device and OS: [recorded environment]
Trace: [original trace location]
Triage report: [report location returned by the installed tool]
Observed hang: [user action and visible symptom]
Open question: [what the report has not yet proved]
Keep the report and trace linked in your notes. If the report points to a time range or activity, use that clue to return to the corresponding portion of the original recording. Do not treat a short summary as a replacement for the timeline or underlying instrument data.
| Report or trace evidence | What it supports | What it does not prove by itself |
|---|---|---|
| A report identifies a hang-related interval | There is a recorded interval worth inspecting | That a particular function caused the user-visible failure |
| Instrument data shows activity or waiting near that interval | The activity is temporally relevant to the event | That the activity is the root cause rather than a consequence |
| A call path appears related to the reproduction | There is a code path to investigate | That changing it will fix the issue in other states or environments |
Can the report identify the exact code cause? Not on its own. It can help focus inspection, but the developer still needs to connect the observed interval to app behavior and verify the suspected cause. Apple’s guidance on analyzing responsiveness issues in a shipping app is useful for keeping that investigation tied to responsiveness evidence rather than treating any costly work as a confirmed hang cause.
For this feature, version matters. The cited release notes describe xctrace triage in Xcode 27.3 Beta 2; they do not guarantee that a later release retains the same behavior, syntax, or options. Check the release notes and installed-tool help again when the Xcode version changes.
Attribution: connect the clue to the user action and code
After locating a candidate interval, compare three things: the symptom note, the report’s clues, and the trace around the same event. The timeline should support a reasoned hypothesis, not just a plausible story. If the user action occurred before the interval, confirm that the events line up before assigning the work to that action.
Use a short evidence table in the investigation notes:
| Record separately | Example of a useful entry |
|---|---|
| Observation | The interface stopped responding after the user submitted a form |
| Trace clue | A recorded activity overlaps the period described in the reproduction |
| Hypothesis | The submission path may be delaying work needed for interface responsiveness |
| Verification still needed | Inspect the related call path and rerun the same reproduction after the change |
This separation prevents a common mistake: turning correlation into a root-cause claim. The report may show work near the relevant time, but a developer must still determine whether it blocks or delays the behavior the user noticed. A CPU-heavy function can be relevant, incidental, or downstream of another problem. Waiting or a dependency can also matter even when “CPU overload” does not explain the observed stall.
Apple’s main-thread activity guidance provides a focused way to inspect main-thread behavior. Use it when the evidence suggests that path is relevant; do not presume that all hang reports imply a main-thread defect. If the trace does not support the current hypothesis, return to the reproduction and ask whether the capture missed the actual event.
For an investigation others may need to review, save one concise note that states what is known and what remains uncertain. A statement such as “the report highlights activity overlapping the submission hang; the relationship to the blocked interaction is not yet confirmed” is more actionable than “triage found the bug.”
After the fix: compare equivalent captures
A code change is not validated just because the original hang did not appear in one later run. The user action may not have been repeated in the same state, the issue may be intermittent, or the new recording may differ in device, build, or setup. Treat a clean run as evidence, not final proof.
Repeat the same reproduction as closely as practical. Use the same target device and app state where possible, record the new build identifier, and capture the same user path. Then compare the relevant trace interval and the report’s clues. If a condition changed, document it so the reviewer knows the comparison is imperfect.
| Comparison point | Before the fix | After the fix |
|---|---|---|
| App build | Record the affected build | Record the build containing the change |
| Reproduction | Preserve the exact user action and starting state | Repeat those conditions as closely as practical |
| Trace review | Locate the interval associated with the reported hang | Inspect the corresponding interval for the same interaction |
| Conclusion | State the observed hang and supporting evidence | State whether it recurred and what evidence changed |
How should you compare traces after fixing an app hang? Compare equivalent user actions and relevant intervals, not just report summaries. Check whether the same visible stall recurs and whether the trace evidence associated with it changed. When you can repeat the test, do so under the same documented conditions; if it happens only intermittently, record that limitation rather than claiming a definitive fix from a single clean attempt.
Apple’s WWDC26 Instruments performance analysis session provides additional context for using Instruments to reason about performance. Keep the comparison narrow: the objective is to test the original hang hypothesis, not to claim that every aspect of the app’s performance improved.
Ongoing use: preserve evidence and choose the right Mac environment
Keep the original trace, generated report, reproduction note, build identifier, and fix result together. Use stable filenames or a case record so another developer can tell which report belongs to which trace. If the investigation changes direction, preserve the earlier hypothesis and note why it was rejected. This prevents a handoff from presenting an untested guess as a confirmed diagnosis.
A Mac environment can help with Xcode and Instruments work, including reviewing trace files and maintaining a separate toolchain from a developer’s everyday machine. It does not replace the target device when the question depends on actual device behavior. Remote access also does not make a trace complete: the reproduction and capture still need to reflect the issue being investigated.
If local storage, toolchain separation, or access to a macOS environment is the constraint, compare those needs with the available remote Mac options. For a project that needs a separate machine for Xcode-based trace work, review the environment and access details on the Mac mini plan page before deciding whether it fits. These pages should be treated as environment-selection references, not as evidence that a particular device test or performance result has been validated.
A locally owned Mac is often the simpler choice for sustained work that needs direct physical connections or frequent hands-on device testing. A remote Mac can help when the immediate need is a separate macOS workspace, but network access and the lack of a physically attached target device may limit parts of the validation workflow. For a short investigation or an isolated Xcode task, renting a Mac from NodeMini can be a more flexible way to work through the trace without buying another machine solely for that task.