Skip to content

Debugging Issue VS 2022 .net 9 #110841

Closed
Closed

Description

@claimrevolution

Description

Since I upgraded to .net 9 I've noticed a random debugging problem. When stepping over code the debugger will jump to the next break point as if hit continue. It seems to be random but happens more often than not. It feels like I'm running something with async and wait and forgot the await part somewhere, but the code I've been using are standard non parallel calls so there are no asyncs going on.

Reproduction Steps

debug code, put several break points. I recommend iterating through a list then a break point at the start and then several in deeper methods. then start stepping over code in those deep methods. it will magically hit the break point at the start of the loop.

Expected behavior

it should keep stepping over code and not hit the next break point randomly.

Actual behavior

the debugger doesn't all ways step over code and going to the next line. it jumps to the next break point.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Activity

  1. added
    untriaged
    on Dec 19, 2024
  2. dotnet-policy-service commented on Dec 19, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @tommcdon
    See info in area-owners.md if you want to be subscribed.

  3. tommcdon commented on Dec 19, 2024

    @tommcdon
    Member

    Duplicate to #109785, #109812, #109885

  4. removed
    untriaged
    on Dec 19, 2024
  5. locked and limited conversation to collaborators on Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions