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

Debugging pretty printed eval is off by a line #954

Closed
roblourens opened this issue Mar 24, 2021 · 1 comment
Closed

Debugging pretty printed eval is off by a line #954

roblourens opened this issue Mar 24, 2021 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug upstream verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

roblourens commented Mar 24, 2021

Debug this .js file in node

eval('console.log("1");console.log("1");console.log("1");console.log("1");console.log("1");console.log("1");debugger;console.log("1");console.log("1");console.log("1");console.log("1");console.log("1");console.log("1");');
  • hit the debugger statement, it says I'm at line 1 col 103 which is the start of the debugger statement
  • Run the pretty print command
  • Now I'm stopped on the wrong line

image

It's fixed after stepping once though

@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Mar 24, 2021
@connor4312 connor4312 added this to the April 2021 milestone Mar 24, 2021
@connor4312
Copy link
Member

erp, should not be closed until the update is pushed to js-debug

@connor4312 connor4312 reopened this Mar 31, 2021
connor4312 added a commit that referenced this issue Apr 5, 2021
@roblourens roblourens added the verified Verification succeeded label Apr 29, 2021
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 upstream verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants