-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support debug "restart" #7670 * More debug refactoring, set up IW for restart * Hook up Restart for rbl, via a custom Restart request implementation. Move commands out of DebuggingManager, and expose methods on that class for use by the rbl controller * Hook up restart for "debug cell" * Clean up dumped cell files in disconnect, so it can be awaited * Fix comments in controller * formatting * Fix PR comments * Wait for debugger to be totally set up before executing cell in IW * Add test for restarting debug. Also fix the restart request handler to avoid cancelling the restart request on accident.
- Loading branch information
1 parent
a9dd309
commit 251bcc7
Showing
21 changed files
with
682 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
'use strict'; | ||
import { Debugger } from '../../../notebooks/debugger/debugger'; | ||
import { createDeferred } from '../../../platform/common/utils/async'; | ||
|
||
export class IWDebugger extends Debugger { | ||
private readonly _ready = createDeferred<void>(); | ||
public readonly ready = this._ready.promise; | ||
|
||
public resolve() { | ||
this._ready.resolve(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.