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

Will show code of old function object which steped before while step in at second function object #1364

Closed
flyingcodes opened this issue Dec 16, 2015 · 2 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@flyingcodes
Copy link

1
2
3
4
5

var fun1 = new Function("return 1 + 2; // in fun1"); // break point
var fun2 = new Function("return 3 + 4; // in fun2");
var r = fun1(); // the folow will step in code of fun1 if step in at this line
r = fun2(); // will step in code of fun1 if step in at above line, else step in code in fun2
console.info("r = " + r); // but the result is valid

@dbaeumer dbaeumer added bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues labels Dec 16, 2015
@dbaeumer dbaeumer added this to the Backlog milestone Dec 16, 2015
@weinand
Copy link
Contributor

weinand commented Dec 16, 2015

@flyingcodes I can reproduce this, great find!

@weinand
Copy link
Contributor

weinand commented Dec 16, 2015

This issue was moved to microsoft/vscode-node-debug#24

@weinand weinand closed this as completed Dec 16, 2015
@aeschli aeschli added upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed bug Issue identified by VS Code Team member as probable bug labels Dec 17, 2015
@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 upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants