in src/debugAdapter/instructionsView/instructionTreeNode.ts [11:22]
constructor(key?: string, parent?: InstructionTreeNode, instructionData?: IInstruction) {
if (!key && (!instructionData || (!instructionData.pc && instructionData.pc !== 0))) {
throw new Error('Incorrect input params');
}
const nodeKey = instructionData
? instructionData.pc.toString()
: (key || '');
this.key = nodeKey;
this.parent = parent;
this.path = this.generatePath(nodeKey, parent);
}