Comments (4)
There aren't actually multiple DevTools instances here, it's just the status bar being duplicated. There's an open issue for this at #4748. Even though VS Code lets us dispose other things and re-create them later, status bars do not (if they are disposed and then another created with the same ID, they will become duplicated).
To fix this, I need to refactor how we do status bars so we never try to dispose them during shutdown of a service (because if we restart the service, we will cause the old status bar to come back).
In the meantime you can restart VS code to clear them and you can "unpin" the status entry to stop them showing along the bottom.
I'm curious how you got into this state though - have you been restarting the analysis server or something a lot? Have some services been terminating?
from dart-code.
Thanks so much!
Seems like the analyzer was crashing or having smalll hicups. This is a project with multiple dart projects inside of it.
Sometimes I would get a notification that that analyzer has been terminated, other times the analyzer seems to stop working (All syntax highlighting breaks and auto-completion stops working) but come back online after a few seconds.
What should I run in the background to capture logs to help debug this?
Issues without any logs or reprocuble steps are pain in the neck. Don't this to be another annoying issue for you.
from dart-code.
Enabling the instrumentation log (https://dartcode.org/docs/logging/#analyzer-instrumentation) may be helpful. It can generate very large files (because it's logging all communication with the analysis server) so it's best not to leave it on all the time (and I would only enable it in the Workspace Settings for the project where you see this).
If you can easily reproduce the issue, then check that log file for exceptions (near the bottom), that might help track down the issue.
from dart-code.
Thanks, I'll close the issue untill it's a helpful one with logs.
Thanks!
from dart-code.
Related Issues (20)
- Don't prompt for Dart SDK updates when Dart SDK is found from a symlink in a Flutter SDK HOT 11
- Duplicate fields in debugger view HOT 13
- Breakpoints not triggering on web build HOT 9
- Missed snackbar.dart file path from fluent_ui.dart HOT 2
- Add an option to auto open DevTools in browser on start debugging HOT 1
- Debug breakpoints not triggering on iOS devices HOT 6
- Make it clearer which settings only apply to legacy analysis server protocol (additionalAnalyzerFileExtensions, analyzeAngularTemplates) HOT 1
- Make the display of getters/fields consistent
- Clean install on windows 11 using Visual Studio fails HOT 1
- [Macros] "Go to Augmentation" for library + CodeLense HOT 3
- Reload the Flutter sidebar from VS Code when the Flutter version changes HOT 3
- [Feature request] Make multi-line string literals foldable HOT 2
- When writing Flutter code in VSCode, there is no automatic indentation when breaking lines within the brackets {} HOT 5
- Quick fix for "Add missing switch cases" does not add all quick fixes HOT 1
- Add custom web server response headers when debugging a Flutter web app on VS code HOT 4
- Code keeps stoping at Disabled Breakpoints HOT 11
- Remove --ios-language for Flutter > 3.22 and update setting description
- Support syncing select debug session into the sidebar HOT 1
- Support openDevTools over sidebar API without a debug session ID HOT 3
- Closure completion suggestions should include types when always_specificy_types lint is enabled HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-code.