Code Monkey home page Code Monkey logo

Comments (4)

DanTup avatar DanTup commented on June 29, 2024

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.

dickermoshe avatar dickermoshe commented on June 29, 2024

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.

DanTup avatar DanTup commented on June 29, 2024

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.

dickermoshe avatar dickermoshe commented on June 29, 2024

Thanks, I'll close the issue untill it's a helpful one with logs.
Thanks!

from dart-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.