Skip to content

Commit

Permalink
undo unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Aug 9, 2021
1 parent 523481c commit c4236ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
1 change: 0 additions & 1 deletion src/client/debugger/jupyter/debuggingManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class Debugger {
name: name,
request: 'attach',
internalConsoleOptions: 'neverOpen',
// justMyCode: false,
__document: document.uri.toString()
},
options
Expand Down
22 changes: 0 additions & 22 deletions src/client/debugger/jupyter/kernelDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export class KernelDebugAdapter implements DebugAdapter, IKernelDebugAdapter, ID
if (this.isRunByLine) {
this.runByLineThreadId = content.body.threadId;
this.runByLineSeq = content.seq;
this.runByLineStackTrace();
}
this.sendMessage.fire(msg.content);
}
Expand Down Expand Up @@ -212,19 +211,6 @@ export class KernelDebugAdapter implements DebugAdapter, IKernelDebugAdapter, ID
}
}

private runByLineStackTrace(): void {
const message: DebugProtocol.StackTraceRequest = {
seq: this.runByLineSeq,
type: 'request',
command: 'stackTrace',
arguments: {
threadId: this.runByLineThreadId
}
};

this.sendRequestToJupyterSession(message);
}

dispose() {
this.disposables.forEach((d) => d.dispose());
// clean temp files
Expand Down Expand Up @@ -345,14 +331,6 @@ export class KernelDebugAdapter implements DebugAdapter, IKernelDebugAdapter, ID
}
});

if ((message as DebugProtocol.StackTraceResponse).command === 'stackTrace') {
(message as DebugProtocol.StackTraceResponse).body.stackFrames.forEach((sf) => {
console.log(sf);
// this.runByLineScope(sf.id);
// check if sf.source?.path is on the cell, if its not, stepInto again
});
}

this.sendMessage.fire(message);
}

Expand Down

0 comments on commit c4236ef

Please sign in to comment.