Skip to content

Detaching from a .Net9 debuggee can crash the application #116870

Open
@auott

Description

@auott

Description

This issue was originally reported through Visual Studio Feedback here: https://developercommunity.visualstudio.com/t/Net9:-Detaching-debugger-when-hitting-a/10866875

Detaching the debugger when stopped at a breakpoint can sometimes cause the debuggee to exit.

Reproduction Steps

Debug a .Net9 application on a CET enabled machine.
Hit a breakpoint.
Detach the debugger.

Expected behavior

Application continues running.

Actual behavior

Application exits.

Regression?

No response

Known Workarounds

No response

Configuration

Win11 with a CET enabled CPU.

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions