Skip to content

Can't debug with VS 2022 17.1.0 Prev 1.0 #6480

@gmck

Description

@gmck

I can't debug at all. Hangs on the splash screen. A breakpoint in OnCreate of the MainActivity is never hit as I get the following in the debugger.

System.InvalidProgramException
  Message=Invalid IL code in Mono.SystemDependencyProvider:Initialize (): IL_002e: endfinally

A release build runs fine, except for what was reported in #6479.

Tried on another machine, and get the same result. Both machines Windows 11

Reverted back to VS 2022 17.0.0 and can debug normally again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DebuggerIssues using or interacting with the debugger.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions