Status: New
Owner: ----

New issue 2825 by deve...@gmail.com: breakpoint resolved to incorrect location
http://code.google.com/p/v8/issues/detail?id=2825

NodeJS Script https://gist.github.com/develar/6154648:

(function() {
  var cnt = 1;

  setInterval(function () {
    console.log("#" + cnt + " Hello! from " + process.pid);
    cnt++;
  }, 2000);
})();

I want to set breakpoint at line " console.log("#"...".

Sent to Chrome:
Content-Length:131

{"seq":8,"type":"request","command":"setbreakpoint","arguments":{"enabled":true,"column":0,"target":33,"line":4,"type":"scriptId"}}
end of message

Received from Chrome:
Content-Length: 245

{"seq":6,"request_seq":8,"type":"response","command":"setbreakpoint","success":true,"body":{"type":"scriptId","breakpoint":2,"script_id":33,"line":4,"column":0,"actual_locations":[{"line":7,"column":0,"script_id":33}]},"refs":[],"running":false}
end of message

See IntelliJ IDEA/WebStorm issue: http://youtrack.jetbrains.com/issue/WEB-8174

I have tried Eclipse, the same problem (node --debug-brk=61397 --log_all 8629.js, Standalone V8 VM Remote).

debug-debugger.js:Debug.findScriptSourcePosition works correctly, correct source position calculated. But %SetScriptBreakPoint resolves breakpoints to incorrect position (debug.cc Debug::SetBreakPointForScript).






--
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to