Skip to content

Commit

Permalink
Issue #947
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Nov 22, 2023
1 parent d5c28e4 commit 5a2effe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface IBackend {

export class VariableObject {
public name: string;
public curDisplayName: string;
public exp: string;
public numchild: number;
public type: string;
Expand All @@ -74,6 +75,7 @@ export class VariableObject {
constructor(p: number, node: any) {
this.parent = p;
this.name = MINode.valueOf(node, 'name');
this.curDisplayName = this.name;
this.exp = MINode.valueOf(node, 'exp');
this.numchild = parseInt(MINode.valueOf(node, 'numchild'));
this.type = MINode.valueOf(node, 'type');
Expand Down Expand Up @@ -137,6 +139,7 @@ export class VariableObject {
variablesReference: this.id
};
this.tryAddMemoryReference(res);
this.curDisplayName = res.name;

res.type = this.createToolTip(res.name, res.value); // This ends up becoming a tool-tip
return res;
Expand Down

0 comments on commit 5a2effe

Please sign in to comment.