Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

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

Closed
weinand opened this issue Dec 16, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Dec 16, 2015

From @flyingcodes on December 16, 2015 7:41

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

Copied from original issue: microsoft/vscode#1364

@weinand weinand self-assigned this Dec 16, 2015
@weinand
Copy link
Contributor Author

weinand commented Dec 16, 2015

@flyingcodes I can reproduce this, great find!

@weinand
Copy link
Contributor Author

weinand commented Jun 9, 2016

fixed by ad33b7d

@weinand weinand closed this as completed Jun 9, 2016
@weinand weinand added this to the June 2016 milestone Jun 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant