Skip to content

Commit 11e6927

Browse files
committed
Convert range to protocol in InlineContext
1 parent f1f8e1a commit 11e6927

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

client/src/common/codeConverter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ export function createConverter(uriConverter?: URIConverter): Converter {
753753
if (context === undefined || context === null) {
754754
return context;
755755
}
756-
return proto.InlineValueContext.create(context.frameId, context.stoppedLocation);
756+
return proto.InlineValueContext.create(context.frameId, asRange(context.stoppedLocation));
757757
}
758758

759759
function asCommand(item: code.Command): proto.Command {

types/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,8 +3872,8 @@ export type InlineValue = InlineValueText | InlineValueVariableLookup | InlineVa
38723872
export type InlineValueContext = {
38733873

38743874
/**
3875-
* The stack frame (as a DAP Id) where the execution has stopped.
3876-
*/
3875+
* The stack frame (as a DAP Id) where the execution has stopped.
3876+
*/
38773877
frameId: number;
38783878

38793879
/**

0 commit comments

Comments
 (0)