Skip to content

Debugger: debug.inlineValues support for case insensitive variable names  #101797

@chrisdp

Description

@chrisdp

Hey, I am working on a debugger for a case insensitive language. When looking into the source I didn't see any way to define the expressions as case insensitive.

function createInlineValueDecorationsInsideRange(expressions: ReadonlyArray<IExpression>, range: Range, model: ITextModel, wordToLineNumbersMap: Map<string, number[]>): IDecorationOptions[] {

With debug.inlineValues set to true I can’t get camel case vars to work. In the below example you can see we have the value for postdata but it won’t match postData in the code even though they are the same reference.

image

As an extension maintainer and/or author we would like to be able to define ether the language as a whole as case insensitive or the scope/variables themselves.

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions