mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
don't try to use non-existing tracker
This commit is contained in:
@@ -404,11 +404,15 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
|
||||
mythis._debugServiceProxy.$acceptDAMessage(handle, message);
|
||||
});
|
||||
da.onError(err => {
|
||||
tracker.debugAdapterError(err);
|
||||
if (tracker) {
|
||||
tracker.debugAdapterError(err);
|
||||
}
|
||||
this._debugServiceProxy.$acceptDAError(handle, err.name, err.message, err.stack);
|
||||
});
|
||||
da.onExit(code => {
|
||||
tracker.debugAdapterExit(code, null);
|
||||
if (tracker) {
|
||||
tracker.debugAdapterExit(code, null);
|
||||
}
|
||||
this._debugServiceProxy.$acceptDAExit(handle, code, null);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user