Return if miDebugger is not set in threadsRequest
Not sure why it only happens for this function but this fixes the error in the console.
This commit is contained in:
parent
a7b89c3569
commit
8af4b28453
1 changed files with 1 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ export class MI2DebugSession extends DebugSession {
|
||||||
protected threadsRequest(response: DebugProtocol.ThreadsResponse): void {
|
protected threadsRequest(response: DebugProtocol.ThreadsResponse): void {
|
||||||
if (!this.miDebugger) {
|
if (!this.miDebugger) {
|
||||||
this.sendResponse(response);
|
this.sendResponse(response);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
this.miDebugger.getThreads().then(
|
this.miDebugger.getThreads().then(
|
||||||
threads => {
|
threads => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue