Skip to content

Wrong generated method sequence point ranges #15289

Open

Description

@auduchinok

There is a significant issue in hwTokenFetch generation, which makes it very hard, or almost impossible, to debug this function.

let rec hwTokenFetch useBlockRule =

According to the pdb information, the last sequence point in this method has range at this when condition:

| (VAL | STATIC | ABSTRACT | MEMBER | OVERRIDE | DEFAULT), ctxtStack when thereIsACtxtMemberBodyOnTheStackAndWeShouldPopStackForUpcomingMember ctxtStack ->

Here's a dump of sequence points read from the pdb, look for 100718728 metadata token.

Stepping any further in this method is impossible because the debugger can't match subsequent sequence points to the method. Neither Visual Studio, nor Rider can debug this method properly.

Activity

  1. added this to the Backlog milestone on Jun 1, 2023
  2. added
    Impact-Medium
    Area-Debug
    and removed on Jun 5, 2023
  3. modified the milestones: Backlog, July-2023 on Jul 6, 2023
  4. self-assigned this
    on Jul 6, 2023
  5. removed their assignment
    on Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-DebugBugImpact-Medium

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions