Status: New
Owner: ----
New issue 3302 by [email protected]: Breakpoints set in scripts appended
to previously compiled scripts with same resource name doesn't work
http://code.google.com/p/v8/issues/detail?id=3302
Let say I have 1 script file which is compiled & executed in two parts:
1: function a()
2: {
3:* print("a");
4: }
Above is compiled with ScriptOrigin("myfile", 0) then executed.
5: function b()
6: {
7:* a();
8: print("b");
9: }
Then second part is compiled with ScriptOrigin("myfile", 4) and executed.
(4 stands for line offset, name is same as for previous compilation).
Eclipse debugger plugin show them as 1 single script (which is great and is
exactly what I want).
Now I set 2 breakpoints: on line 3 & line 7. And make b() function call.
Unfortunatelty, breakpoints set in function b() (more precisely,
breakpoints set in any "appended" scripts) DOESN'T WORK.
Extra info:
- VM Code to source displayed in Eclipse mapping is fine, when I'm on
breakpoint in line 3, I can browse the callstack which shows that a() was
called from line 7.
- If compilation of these 2 sub-scripts are made with 2 different resource
names in ScriptOrigin then breakpoints in both functions work fine. I don't
like it as I wish to have both scripts as a single "file" in Eclipse.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.