Skip to content

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

Closed

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

Activity

  1. added
    untriaged
    on Jun 20, 2025
  2. dotnet-policy-service commented on Jun 20, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @thaystg, @dotnet/dotnet-diag
    See info in area-owners.md if you want to be subscribed.

  3. added this to the 10.0.0 milestone on Jun 20, 2025
  4. removed
    untriaged
    on Jun 20, 2025
  5. dotnet-policy-service commented on Jun 20, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
    See info in area-owners.md if you want to be subscribed.

  6. self-assigned this
    on Jul 3, 2025
  7. locked and limited conversation to collaborators on Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions