Skip to content

corerun debugger fails on exit with "debugger type: mixed (.net core)" #65357

@sandreenko

Description

@sandreenko

image

Repro: run an app that uses both managed and unmanaged code, for example, C# application or crossgen2, set breakpoints in both managed and unmanaged parts, set debugging mode to "mixed .net core". finish the app and see this error with a high probability. I saw this on VS 2019 and it is still happening with VS 2022.

I guess this scenario is used mostly by runtime developers but would be nice to have it fixed because usually after such errors VS code closes all windows and loses project settings if they were not saved.

In this case, I was running crossgen2 on a test that I and @trylek are working on, so I guess Tomas can repro it as well.

PTAL @mangod9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions