Skip to content

Implement extension host restarting #32768

Closed

Description

When the extension host crashes, the only way to recover is by reloading the window.

Implement a mechanism to correctly clean up state in the workbench due to the extension host and add an action to restart the extension host.

Activity

  1. added
    extensions
    on Aug 18, 2017
  2. added
    plan-item
    on Aug 18, 2017
  3. jtsom commented on Aug 18, 2017

    @jtsom

    I think instead of trying to work around the extension host restarting, maybe try to fix why it's crashing after a recent update! Having to click a Restart button after waking the system, or bringing the app to the front is a bit of a hack...

  4. jacobrillema commented on Aug 18, 2017

    @jacobrillema

    I see they have a restart option now. However it keeps crashing for me even after clicking "restart extension host"

  5. jtsom commented on Aug 18, 2017

    @jtsom

    The root of the crashing needs to be fixed - not just put a "restart the broken system" button!

  6. jens1o commented on Aug 18, 2017

    @jens1o
    Contributor

    I absolutely agree with John Tsombakos (@jtsom) ...

  7. alexdima commented on Aug 19, 2017

    @alexdima
    MemberAuthor

    John Tsombakos (@jtsom) Jacob G. Rillema (@jacobrillema)

    This effort does not detract from making the extension host as stable as possible. It is, in fact, a precondition to get multi-root folders support working without a full window reload of VS Code when going from 0 folders -> 1 folder or from 1 folder -> N folders.

    We are definitely interested in resolving the crashes, but please take into account that in order to produce a fix we need to be able to at least partially reproduce and/or understand what is the root problem of each crash.

    Please create separate issues with as much as possible detailed information. e.g.:

    • are you using VS Code insiders or stable ?
    • are you on our new Windows 64 bit distribution ?
    • does the crash reproduce when running code --disable-extensions ?
    • does the crash reproduce on start-up (with no files opened) or is there a specific set of steps that leads to the crash ?
    • what is printed in the Developer Tools when the crash occurs ? Is there any error message ?
    • are you hitting EH watchdog is triggered after sleep/wakeup #32620 i.e. you are on Insiders and the ext host crashes after a laptop sleep ? (a fix will be out with the next Insiders build on Monday)

    Please create new issues with as much information as possible. We share the goal of making the extension host more stable.

  8. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

extensionson-testplanplan-item

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions