-
Notifications
You must be signed in to change notification settings - Fork 804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breakpoint set on a very different line #3902
Labels
Area-Debug
stepping, debug points, stacks and more
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Comments
Or try to debug let shouldProvideCompletion (documentId: DocumentId, filePath: string, defines: string list, text: SourceText, position: int) : bool =
let textLines = text.Lines
let triggerLine = textLines.GetLineFromPosition position
let colorizationData = Tokenizer.getColorizationData(documentId, text, triggerLine.Span, Some filePath, defines, CancellationToken.None)
colorizationData.Count = 0 || // we should provide completion at the start of empty line, where there are no tokens at all
colorizationData.Exists (fun classifiedSpan ->
classifiedSpan.TextSpan.IntersectsWith position &&
(
match classifiedSpan.ClassificationType with
| ClassificationTypeNames.Comment
| ClassificationTypeNames.StringLiteral
| ClassificationTypeNames.ExcludedCode
| ClassificationTypeNames.NumericLiteral
| ClassificationTypeNames.VerbatimStringLiteral
| ClassificationTypeNames.Text -> false
| _ -> true // anything else is a valid classification type
)) There is absolutely no way to set a breakpoint so that |
Interesting, must be in our handling of |
It jumps to another method. This is something new. |
@vasily-kirichenko Yes indeed |
This is covered by #11980 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-Debug
stepping, debug points, stacks and more
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
I think it's a new level of breakpoints weirdness:
15.5 pre 3
The text was updated successfully, but these errors were encountered: