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: Support skipping code when stepping #4954

Closed
3 tasks done
weinand opened this issue Apr 5, 2016 · 0 comments
Closed
3 tasks done

Test: Support skipping code when stepping #4954

weinand opened this issue Apr 5, 2016 · 0 comments

Comments

@weinand
Copy link
Contributor

weinand commented Apr 5, 2016

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
@weinand weinand added this to the April 2016 milestone Apr 5, 2016
@egamma egamma mentioned this issue Apr 5, 2016
68 tasks
@joaomoreno joaomoreno changed the title Support skipping code when stepping Test: Support skipping code when stepping Apr 26, 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.
Projects
None yet
Development

No branches or pull requests

2 participants