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

Test: node2 - smartStep #14339

Closed
2 tasks done
roblourens opened this issue Oct 25, 2016 · 2 comments
Closed
2 tasks done

Test: node2 - smartStep #14339

roblourens opened this issue Oct 25, 2016 · 2 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@roblourens
Copy link
Member

roblourens commented Oct 25, 2016

Effort: 2

Original test item for node-debug, it should work exactly the same using "node2": #4954.

Copied for your convenience:

for #4798:

We added experimental support for automatically skipping 'uninteresting code' when stepping through code in the debugger. 'Uninteresting code' is code that is generated by a transpiling process but is not covered by a source map so it does not map back to the original source. Typically this code gets into your way when stepping through code in the debugger because it makes the debugger switch between the original source code and generated code that you are not really interested in.

This experimental feature automatically steps through code not covered by a source map until it has reached a location that is covered by a source map again. To enable the feature just add the attribute smartStep with a value of true to your launch configuration.

Here is a sample project: async-sample.zip

  • unzip and open in VS Code
  • npm install
  • npm run-script compile

Verify that:

  • stepping through code stays in the source and does not jump into the generated code (you can see the skipped steps in the debug console).
  • stepping still makes sense and you can follow what's going on
@roblourens roblourens added testplan-item debug Debug viewlet, configurations, breakpoints, adapter issues labels Oct 25, 2016
@bpasero bpasero modified the milestone: October 2016 Oct 25, 2016
@joaomoreno
Copy link
Member

@rebornix Use this updated sample:

async-sample.zip

@joaomoreno joaomoreno removed their assignment Oct 25, 2016
@rebornix
Copy link
Member

@joaomoreno thanks for the info!

@rebornix rebornix removed their assignment Oct 25, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Projects
None yet
Development

No branches or pull requests

4 participants