text stringlengths 1 474 |
|---|
Troubleshooting some standard issues |
Question: My app looks janky or stutters. |
How do I fix it?Answer: Performance issues can cause UI frames |
to be janky and/or slow down some operations.For more information, check out the |
Performance page.Question: I see a lot of garbage collection (GC) events occurring. |
Is this a problem?Answer: Frequent GC events might display on |
the DevTools > Memory > Memory chart. In most cases, |
it’s not a problem.If your app has frequent background activity with some idle time, |
Flutter might use that opportunity to collect the created objects |
without performance impact.<topic_end> |
<topic_start> |
Providing feedback |
Please give DevTools a try, provide feedback, and file issues |
in the DevTools issue tracker. Thanks!<topic_end> |
<topic_start> |
Other resources |
For more information on debugging and profiling |
Flutter apps, see the Debugging page and, |
in particular, its list of other resources.For more information on using DevTools with Dart command-line apps, see the |
DevTools documentation on dart.dev. |
<topic_end> |
<topic_start>DevTools |
<topic_end> |
<topic_start> |
What is DevTools? |
DevTools is a suite of performance and debugging tools |
for Dart and Flutter.For a video introduction to DevTools, check out |
the following deep dive and use case walkthrough:Dive in to DevTools<topic_end> |
<topic_start> |
What can I do with DevTools? |
Here are some of the things you can do with DevTools:We expect you to use DevTools in conjunction with |
your existing IDE or command-line based development workflow. |
<topic_end> |
<topic_start> |
How to start DevTools |
See the VS Code, Android Studio/IntelliJ, or |
command line pages for instructions on how to start DevTools.<topic_end> |
<topic_start> |
Troubleshooting some standard issues |
Question: My app looks janky or stutters. |
How do I fix it?Answer: Performance issues can cause UI frames |
to be janky and/or slow down some operations.For more information, check out the |
Performance page.Question: I see a lot of garbage collection (GC) events occurring. |
Is this a problem?Answer: Frequent GC events might display on |
the DevTools > Memory > Memory chart. In most cases, |
it’s not a problem.If your app has frequent background activity with some idle time, |
Flutter might use that opportunity to collect the created objects |
without performance impact.<topic_end> |
<topic_start> |
Providing feedback |
Please give DevTools a try, provide feedback, and file issues |
in the DevTools issue tracker. Thanks!<topic_end> |
<topic_start> |
Other resources |
For more information on debugging and profiling |
Flutter apps, see the Debugging page and, |
in particular, its list of other resources.For more information on using DevTools with Dart command-line apps, see the |
DevTools documentation on dart.dev. |
<topic_end> |
<topic_start>Install and run DevTools from Android Studio |
<topic_end> |
<topic_start> |
Install the Flutter plugin |
Install the Flutter plugin if you don’t already have it installed. |
This can be done using the normal Plugins page in the IntelliJ |
and Android Studio settings. Once that page is open, |
you can search the marketplace for the Flutter plugin.<topic_end> |
<topic_start> |
Start an app to debug |
To open DevTools, you first need to run a Flutter app. |
This can be accomplished by opening a Flutter project, |
ensuring that you have a device connected, |
and clicking the Run or Debug toolbar buttons.<topic_end> |
<topic_start> |
Launch DevTools from the toolbar/menu |
Once an app is running, |
you can start DevTools using one of the following:<topic_end> |
<topic_start> |
Launch DevTools from an action |
You can also open DevTools from an IntelliJ action. |
Open the Find Action… dialog |
(on macOS, press Cmd + Shift + A), |
and search for the Open DevTools action. |
When you select that action, |
DevTools is installed (if it isn’t already), the DevTools server |
launches, and a browser instance opens pointing to the DevTools app.When opened with an IntelliJ action, DevTools is not connected |
to a Flutter app. You’ll need to provide a service protocol port |
for a currently running app. You can do this using the inline |
Connect to a running app dialog. |
<topic_end> |
<topic_start>Install and run DevTools from VS Code |
<topic_end> |
<topic_start> |
Install the VS Code extensions |
To use the DevTools from VS Code, you need the Dart extension. |
If you’re debugging Flutter applications, you should also install |
the Flutter extension.<topic_end> |
<topic_start> |
Start an application to debug |
Start a debug session for your application by opening the root |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.