diff --git a/client/src/common/codeConverter.ts b/client/src/common/codeConverter.ts index 9b8d64f62..a2902cdcc 100644 --- a/client/src/common/codeConverter.ts +++ b/client/src/common/codeConverter.ts @@ -753,7 +753,7 @@ export function createConverter(uriConverter?: URIConverter): Converter { if (context === undefined || context === null) { return context; } - return proto.InlineValueContext.create(context.frameId, context.stoppedLocation); + return proto.InlineValueContext.create(context.frameId, asRange(context.stoppedLocation)); } function asCommand(item: code.Command): proto.Command { diff --git a/types/src/main.ts b/types/src/main.ts index 13c6c3eac..0343d7d7c 100644 --- a/types/src/main.ts +++ b/types/src/main.ts @@ -3872,8 +3872,8 @@ export type InlineValue = InlineValueText | InlineValueVariableLookup | InlineVa export type InlineValueContext = { /** - * The stack frame (as a DAP Id) where the execution has stopped. - */ + * The stack frame (as a DAP Id) where the execution has stopped. + */ frameId: number; /**