Status: New
Owner: ----
New issue 2957 by [email protected]: When debugging - delete statement
is skipped
http://code.google.com/p/v8/issues/detail?id=2957
When trying to debug following script with node.js step-by-step:
var exPE = { ex2_prop1 : 23, ex2_prop2 : 13 };
debugger;
delete exPE.ex2_prop1;
debugger;
Following lines will be visited: 1,2,4 ; thus skipping third line with
delete statement. Reproducible in master and 0.10 version of node.js
(3.21.18.3 and 3.14.5.9 v8 versions respectively).
Here is a dump of debug messages that are sent to node:
{"seq":11,"request_seq":1,"type":"response","command":"continue","success":true,"running":true}
{"seq":12,"type":"event","event":"break","body":{"invocationText":"#<Object>.[anonymous](exports=#<Object>,
require=function
require(path) {\n return self.require(path);\n },
module=#<Module>, __filename=/Users/indutny/Code/indutny/node/5.js,
__dirname=/Users/indutny/Code/indutny/node)","sourceLine":1,"sourceColumn":0,"sourceLineText":"debugger;","script":{"id":36,"name":"/Users/indutny/Code/indutny/node/5.js","lineOffset":0,"columnOffset":0,"lineCount":6}}}
{"seq":13,"request_seq":1,"type":"response","command":"source","success":true,"body":{"source":"(function
(exports,
require, module, __filename, __dirname) { var exPE = {
ex2_prop1 : 23, ex2_prop2 : 13 };\ndebugger;\ndelete
exPE.ex2_prop1;\ndebugger;\n\n});","fromLine":0,"toLine":6,"fromPosition":0,"toPosition":157,"totalLines":6},"refs":[],"running":false}
{"seq":14,"request_seq":1,"type":"response","command":"continue","success":true,"running":true}
{"seq":15,"type":"event","event":"break","body":{"invocationText":"#<Object>.[anonymous](exports=#<Object>,
require=function
require(path) {\n return self.require(path);\n },
module=#<Module>, __filename=/Users/indutny/Code/indutny/node/5.js,
__dirname=/Users/indutny/Code/indutny/node)","sourceLine":3,"sourceColumn":0,"sourceLineText":"debugger;","script":{"id":36,"name":"/Users/indutny/Code/indutny/node/5.js","lineOffset":0,"columnOffset":0,"lineCount":6}}}
{"seq":16,"request_seq":1,"type":"response","command":"source","success":true,"body":{"source":"(function
(exports,
require, module, __filename, __dirname) { var exPE = {
ex2_prop1 : 23, ex2_prop2 : 13 };\ndebugger;\ndelete
exPE.ex2_prop1;\ndebugger;\n\n});","fromLine":0,"toLine":6,"fromPosition":0,"toPosition":157,"totalLines":6},"refs":[],"running":false}
Original node.js issue: https://github.com/joyent/node/issues/6405
--
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/groups/opt_out.