-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debugging work #6505
debugging work #6505
Conversation
this.cellToFile.forEach((tempPath) => { | ||
const norm = path.normalize(tempPath); | ||
const dir = path.dirname(norm); | ||
void this.fs.deleteLocalFile(norm); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to try catch on any of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea
Codecov Report
@@ Coverage Diff @@
## main #6505 +/- ##
=====================================
Coverage 69% 69%
=====================================
Files 410 410
Lines 28248 28239 -9
Branches 4190 4185 -5
=====================================
+ Hits 19619 19621 +2
+ Misses 6963 6958 -5
+ Partials 1666 1660 -6
|
|
||
const debugRequest = (message: DebugProtocol.Request): KernelMessage.IDebugRequestMsg => { | ||
const sessionId = message.arguments?.__sessionId ? message.arguments.__sessionId : randomBytes(8).toString('hex'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hang on a second, shouldn't this be the Jupyter session ID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be sent to jupyter, and if the message came from jupyter the casting should put it there. But I'll test and make sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, sessionId only comes in the attach message. I think I should save it and send the same one but I'm not sure. I'll investigate.
* don't fetch breakpoints on activate * implement IDisposable on the debugging manager * pass on session id's * delete temp files * lint * add try catch * store sessionId * pass jupyter session id
* prepare release (#6403) * Port jupyter kernel fix to release branch (#6486) * Fix some problems running kernels with 'jupyter' or no raw kernel (#6464) * Fix for 6409 * Jupyter server specific case for kernel data not being used * Update changelog * Fix interactive window debug cell, codelens tracking, go to cell, expand/collapse all from toolbar when focus is not on notebook editor (#6469) (#6493) * fix #6423 * Debug cell fixes * update execution count. * Expand/collapse cell should not rely on `activeNotebookEditor` * Format * Refactor add/debug code codepaths * Prettier Co-authored-by: rebornix <penn.lv@gmail.com> Co-authored-by: rebornix <penn.lv@gmail.com> * enble the debugging setting (#6492) * Port #6503 and #6504 to release (#6507) * Don't pass registrationData twice when registering notebook serializer (#6503) * If in Python daily insiders and VS Code Insiders opt into native interactive window (#6504) * If in Python daily insiders and VS Code Insiders opt into native interactive window * Oops * Remove unused import * Changelog * Format * debugging work (#6505) (#6558) * don't fetch breakpoints on activate * implement IDisposable on the debugging manager * pass on session id's * delete temp files * lint * add try catch * store sessionId * pass jupyter session id * Remove start page in favor of a message (#6576) * prepare release (#6590) * prepare * use same version in package.jpsn and changelog * leave version at 2021.8.0 * publish release * update package-lock Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com> Co-authored-by: Joyce Er <joyceerhuiling@gmail.com> Co-authored-by: rebornix <penn.lv@gmail.com> Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
For #6467
For #6391 its the following:
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).