Skip to content

DevTools "Count widget builds" only works in debug mode, not in --profile mode #9516

@david78737

Description

@david78737

Steps to reproduce

  1. flutter run --profile --track-widget-creation
  2. Open DevTools → Performance
  3. The "Count widget builds" checkbox is greyed out.

Expected results

The flag name --track-widget-creation suggests this should still be
available in profile mode. Documentation should clarify that widget build tracking is available debug-only.

Actual results

I could not check the box to display the widget rebuilds, and the tooltip was not any help either. Documentation never mentions this. AI doesn't know.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3issues we think are valid but not importantcost: lowLow engineering cost to implement.screen: performanceIssues with the Performance screen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions