typescript upgrade
This commit is contained in:
parent
4393a315fa
commit
2f2d0294f4
6 changed files with 20 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Breakpoint, IBackend, Stack, SSHArguments, Variable } from "../backend.ts"
|
||||
import { Breakpoint, IBackend, Stack, SSHArguments, Variable } from "../backend"
|
||||
import * as ChildProcess from "child_process"
|
||||
import { EventEmitter } from "events"
|
||||
import { parseMI, MINode } from '../mi_parse';
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ export class MI2DebugSession extends DebugSession {
|
|||
let addOne = () => {
|
||||
this.miDebugger.evalExpression(JSON.stringify(varReq.name + "+" + arrIndex + ")")).then(variable => {
|
||||
try {
|
||||
let expanded = expandValue(createVariable, variable.result("value"), id, variable);
|
||||
let expanded = expandValue(createVariable, variable.result("value"), varReq.name, variable);
|
||||
if (!expanded) {
|
||||
this.sendErrorResponse(response, 15, `Could not expand variable`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue