Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] Hot reload stops working after a few simulator runs #12353

@Tommigun1980

Description

@Tommigun1980

Description

Hot reload has a habit of displaying the following after a few simulator runs:

Screenshot 2020-10-04 at 4 23 14

Whenever that is displayed once, every start and/or stop of the iOS simulator tends to show the same error, and hot reload doesn't work after that. A restart of VS solves it for a few minutes until the issue is back.

I have a zip file with the VS For Mac log folder, and it's full of errors such as:

"Failed assertion: Why is this XAML document no longer in the solution? Microsoft.CodeAnalysis.DocumentInfo"

"System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Debugger.VsCodeDebugProtocol.VSCodeDebuggerBacktrace..ctor"

"Error processing 'stackTrace' request. The operation cannot be preformed while the target process is running."

"ERROR [2020-10-04 04:23:00Z]: The connection with the debugger has been lost. The target application may have exited.
Mono.Debugging.Soft.DisconnectedException: The connection with the debugger has been lost. The target application may have exited. ---> Mono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown."

etc. I don't feel comfortable uploading the logs in public, so please let me know where to upload the zip.

Also, I am not sure whether this is a VS For Mac issue or a Xamarin issue so I'm posting this here, and please let me know if it's not the right place (along with instructions on where to post this, and also where to send the log zip).

Thanks.

Basic Information

  • Version with issue: Xamarin.Forms 5-pre1.
  • Last known good version:
  • IDE: VS For Mac 8.7.8 build 4

VS bug #1225673

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions