-
Notifications
You must be signed in to change notification settings - Fork 825
Open
Labels
Area-Debugstepping, debug points, stacks and morestepping, debug points, stacks and moreBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
There is a significant issue in hwTokenFetch
generation, which makes it very hard, or almost impossible, to debug this function.
fsharp/src/Compiler/SyntaxTree/LexFilter.fs
Line 1217 in c4ad09a
let rec hwTokenFetch useBlockRule = |
According to the pdb information, the last sequence point in this method has range at this when
condition:
fsharp/src/Compiler/SyntaxTree/LexFilter.fs
Line 1985 in c4ad09a
| (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.
kerams, edgarfgp and abonie
Metadata
Metadata
Assignees
Labels
Area-Debugstepping, debug points, stacks and morestepping, debug points, stacks and moreBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Projects
Status
New