提交 f8dfbfa4 编写于 作者: I isidor

fixes #71671

上级 9c00167f
...@@ -797,7 +797,7 @@ export class DebugModel implements IDebugModel { ...@@ -797,7 +797,7 @@ export class DebugModel implements IDebugModel {
// Make sure to de-dupe if a session is re-intialized. In case of EH debugging we are adding a session again after an attach. // Make sure to de-dupe if a session is re-intialized. In case of EH debugging we are adding a session again after an attach.
return false; return false;
} }
if (s.state === State.Inactive && s.getLabel() === session.getLabel()) { if (s.state === State.Inactive && s.configuration.name === session.configuration.name) {
// Make sure to remove all inactive sessions that are using the same configuration as the new session // Make sure to remove all inactive sessions that are using the same configuration as the new session
return false; return false;
} }
......
...@@ -783,6 +783,7 @@ export class DebugSession implements IDebugSession { ...@@ -783,6 +783,7 @@ export class DebugSession implements IDebugSession {
})); }));
this.rawListeners.push(this.raw.onDidExitAdapter(event => { this.rawListeners.push(this.raw.onDidExitAdapter(event => {
this.initialized = true;
this._onDidEndAdapter.fire(event); this._onDidEndAdapter.fire(event);
})); }));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册