flutter / flutter/flutter-intellij

Exception processing event: Flutter.RebuiltWidgets

Open
#4,311 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
[github.com/flutter/flutter](https://github.com/flutter/flutter/issues/new).

## Steps to Reproduce

1. Clone the sloth_app at https://github.com/filiph/sloth_app/commit/5e4e5f73776812fd29f2deff294e804d1753571f
2. Open in Android Studio
3. Run in debug mode
4. Turn on the "Show widget rebuild information" feature
5. Navigate to the fourth screen (the app is a PageView, so just swipe right 3 times)
6. Look into the console

#### Expected

The widget rebuild info continues working

#### Actual

I get the error below, and the widget rebuild panel doesn't update.

## Logs

```
Launching lib/main.dart on Pixel 2 XL in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Syncing files to device Pixel 2 XL...
Exception processing event: Extension, {"type":"Event","kind":"Extension","extensionKind":"Flutter.RebuiltWidgets","isolate":{"type":"@Isolate","id":"isolates/3734909494352719","name":"main","number":"3734909494352719"},"timestamp":1579689893650,"extensionData":{"startTime":7472203,"events":[88,1,89,1,90,1,91,1,103,1,104,1,105,1,106,1,110,19],"newLocations":{"file:///Users/filiph/dev/performance_test_app/lib/main.dart":[88,39,11],"file:///Users/filiph/dev/performance_test_app/lib/src/green.dart":[89,37,12,91,41,11,103,43,20,104,46,11,105,47,20,106,52,26,110,59,34],"file:///Users/filiph/dev/performance_test_app/lib/src/rounded_card.dart":[90,13,12]}}}
```

## Version info

```
$ flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G2022,
locale en-US)
• Flutter version 1.12.13+hotfix.5 at /Users/filiph/dev/flutter
• Framework revision 27321ebbad (6 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/filiph/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode_11.app/Contents/Developer
• Xcode 11.0, Build version 11A420a
• CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1

[✓] Connected device (1 available)
• Pixel 2 XL • 711KPZK0592485 • android-arm64 • Android 10 (API 29)

• No issues found!
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with the linked sloth_app commit in Android Studio, enable “Show widget rebuild information,” and navigate to the fourth screen. Then trace how the IntelliJ plugin handles the Flutter.RebuiltWidgets extension event; done means the console exception is resolved and the widget rebuild panel continues updating.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, java
Domain
devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.