Open
Description
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