Status: New
Owner: ----

New issue 1639 by [email protected]: Debugger breaks on internal code when attempting to step next
http://code.google.com/p/v8/issues/detail?id=1639

I'm experiencing some unexpected behaviour from the debugging agent
(not using d8, rather, a client of the debugger protocol written in
Emacs): when sending a 'continue' request with 'stepaction' 'next' or
'in', the debugger breaks in some internal location rather than on the
next line of code. Here's what I'm doing:

1) Set a breakpoint in some function

2) Trigger the breakpoint by calling the function in an 'evaluate'
request

3) Send the following 'continue' request:

    {
        "arguments":{"stepaction":"next"},
        "command":"continue",
        "type":"request",
        "seq":6
    }

I then receive this (unexpected) event:

    {
        "seq":12,
        "type":"event",
        "event":"break",
        "body": {
            "invocationText":"[debugger]",
            "sourceLine":1459,
            "sourceColumn":13,
            "sourceLineText":"if(!(typeof(c.running)==='undefined')) {",
"script":{"id":42,"name":"native debug.js","lineOffset": 0,"columnOffset":0,"lineCount":2570}}
    }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to