Skip to content

Commit

Permalink
Merge pull request #936 from microsoft/dbaeumer/dear-toucan-tan
Browse files Browse the repository at this point in the history
Convert range to protocol in InlineContext
  • Loading branch information
dbaeumer committed May 12, 2022
2 parents f1f8e1a + 11e6927 commit f433fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/common/codeConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions types/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit f433fae

Please sign in to comment.