typescript upgrade

This commit is contained in:
WebFreak001 2016-12-07 00:10:55 +01:00
commit 2f2d0294f4
6 changed files with 20 additions and 16 deletions

View file

@ -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';

View file

@ -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`);
}