Skip to content
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

Intercept stopped event when auto-stepping through code in other files/cells #7248

Merged
merged 2 commits into from
Aug 24, 2021

Conversation

roblourens
Copy link
Member

@roblourens roblourens commented Aug 24, 2021

For #7218
Fixes #6856

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).

@roblourens roblourens requested a review from a team as a code owner August 24, 2021 00:33
@roblourens roblourens self-assigned this Aug 24, 2021
@roblourens roblourens force-pushed the roblou/interceptStopped branch from 2edb532 to bb6159a Compare August 24, 2021 00:45
@@ -236,8 +261,15 @@ export class KernelDebugAdapter implements DebugAdapter, IKernelDebugAdapter, ID
});
}

private stackTrace(): void {
void this.session.customRequest('stackTrace', { threadId: this.threadId });
private stackTrace(args?: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can we rename this to getStacktrace, I saw this earlier and it tripped me, didn't know if it was a Method that got data or a funky method (like a property) that just returned existing existing data or an existing promise

@codecov-commenter
Copy link

Codecov Report

Merging #7248 (bb6159a) into main (b3d58bf) will decrease coverage by 2%.
The diff coverage is 0%.

❗ Current head bb6159a differs from pull request most recent head 8514590. Consider uploading reports for the commit 8514590 to get more accurate results

@@          Coverage Diff           @@
##            main   #7248    +/-   ##
======================================
- Coverage     64%     62%    -3%     
======================================
  Files        360     360            
  Lines      22518   22529    +11     
  Branches    3398    3400     +2     
======================================
- Hits       14612   14048   -564     
- Misses      6614    7306   +692     
+ Partials    1292    1175   -117     
Impacted Files Coverage Δ
src/client/debugger/jupyter/kernelDebugAdapter.ts 4% <0%> (-1%) ⬇️
...ience/variablesView/variableViewMessageListener.ts 22% <0%> (-78%) ⬇️
...ent/common/application/webviewViews/webviewView.ts 14% <0%> (-72%) ⬇️
...c/client/datascience/variablesView/variableView.ts 17% <0%> (-62%) ⬇️
src/client/datascience/webviews/webviewViewHost.ts 21% <0%> (-58%) ⬇️
src/client/common/application/webviews/webview.ts 13% <0%> (-54%) ⬇️
src/client/datascience/themeFinder.ts 13% <0%> (-48%) ⬇️
src/client/datascience/codeCssGenerator.ts 16% <0%> (-44%) ⬇️
src/client/datascience/webviews/webviewHost.ts 47% <0%> (-31%) ⬇️
src/client/datascience/jupyter/jupyterNotebook.ts 21% <0%> (-30%) ⬇️
... and 24 more

@roblourens roblourens merged commit c15486a into main Aug 24, 2021
@roblourens roblourens deleted the roblou/interceptStopped branch August 24, 2021 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running line by line in a model learning cell breaks
3 participants