-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getLayoutExplorerNode stack overflow when clicking on the inspected button #5946
Comments
Another way to reproduce this error appears to be scrolling up and down a widget tree with the keyboard arrows. It also appears that the current BETA does not have this issue:
But the latest candidate does:
|
There are still errors on the BETA but they are not the stack overflow errors like we see on stable:
|
Repeating part:
|
it looks like clicking on a single element triggers 10s of thousands of calls to additional node props. |
Looking into this more I used a static hash to keep track of the DiagnosticsNode objects that we were looking through. |
Diving even deeper, it looks like it is the Tooltip that causes a loop. |
Jacob mentions that we may just not want to go deeper for RenderObjects Instead |
…1486) ![](https://media.giphy.com/media/l0ExdBwqD6YkeEhQ4/giphy-downsized.gif) Fixes flutter/devtools#5946 While preparing DevTools for the Multi View changes, I noticed that inspecting a Tooltip causes an stack overflow. This PR addresses that issue by fixing the scope of the subtreeDepth variable and adding some other idiomatic fixes
…tter#131486) ![](https://media.giphy.com/media/l0ExdBwqD6YkeEhQ4/giphy-downsized.gif) Fixes flutter/devtools#5946 While preparing DevTools for the Multi View changes, I noticed that inspecting a Tooltip causes an stack overflow. This PR addresses that issue by fixing the scope of the subtreeDepth variable and adding some other idiomatic fixes
flutter create some_bare_app
cd some_bare_app
flutter run -d macos
The text was updated successfully, but these errors were encountered: