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

Step into eval when pauseForSourceMap is true does not pause on next available line #1665

Closed
c3danielxu opened this issue Apr 18, 2023 · 0 comments · Fixed by #1692
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@c3danielxu
Copy link

Describe the bug
When I into an eval function with pauseForSourceMap as true, the code execution does not pause on the next available line. This is a follow up of #1556 except step over works, but step into does not.

To Reproduce
Steps to reproduce the behavior:

  1. Use default launch configurations and add "pauseForSourceMap": true
  2. Debug and see that step into does not pause on line 9 in the screen recording

Log File
vscode-debugadapter-c0c5bc5a.json.gz

VS Code Version: 1.77.3 and JavaScript nightly debugger as of April 18, 2023

Additional context

f = eval(
`(function (a, b) {
  c = a + b;
  return c;
});
//# sourceURL=foo.js
//# sourceMappingURL=foo.js.map
`);
f(1, 2);
console.log('success');
step.into.eval.mp4
@c3danielxu c3danielxu added the bug Issue identified by VS Code Team member as probable bug label Apr 18, 2023
connor4312 added a commit that referenced this issue May 3, 2023
connor4312 added a commit that referenced this issue May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
2 participants