[Webkit-unassigned] [Bug 21262] JavaScript Debugger doesn't play nice with functions created with eval/(new Function())
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 3 22:15:51 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=21262
pmuellr at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmuellr at yahoo.com
------- Comment #4 from pmuellr at yahoo.com 2009-06-03 22:15 PDT -------
Patch for supporting for naming evals via the Firefox convention of annotation
comment is available in Bug 25475 . I modified fragment_evaluate_code() in
Objective-J.js to append the relevant comment, and got all of the Function()'s
named in the script drop-down, and I believe in the call stacks as well.
The change was to augment the aFragment.info property like this, before using
with the Function() constructor:
aFragment.info += "\n//@sourceURL=" + aFragment.file.path + "\n";
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list