Skip to content

Commit 191691d

Browse files
authored
Merge pull request #507 from intersystems-community/fix-505
Fixed show of changed variable during debugging
2 parents 926b4cc + 0a65400 commit 191691d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debug/debugSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ export class ObjectScriptDebugSession extends LoggingDebugSession {
569569

570570
response.body = {
571571
value: args.value,
572-
variablesReference: args.variablesReference,
573572
};
574573
this.sendResponse(response);
575574
}
@@ -579,10 +578,11 @@ export class ObjectScriptDebugSession extends LoggingDebugSession {
579578
response: DebugProtocol.Response,
580579
codeOrMessage: number | DebugProtocol.Message,
581580
format?: string,
581+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
582582
variables?: any,
583583
dest?: ErrorDestination
584584
): void;
585-
protected sendErrorResponse(response: DebugProtocol.Response, ...rest): void {
585+
protected sendErrorResponse(response: DebugProtocol.Response, ...rest: any[]): void {
586586
if (rest[0] instanceof Error) {
587587
const error = rest[0] as Error & { code?: number | string; errno?: number };
588588
const dest = rest[1] as ErrorDestination;

0 commit comments

Comments
 (0)