I should clarify that this occurs when break on exception is both
enabled
and disabled for 'all'. Surely any behaviour for 'stepnext' than
breaking on
the next line of the script being debugged is a bug in the V8
debugger.
Scott
On Aug 22, 2:40 pm, Scott Bell <[email protected]> wrote:
> Hi folks,
>
> 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}}
> }
>
> Any help in getting the desired behaviour of stepping to the next
> line would be greatly appreciated.
>
> Regards,
>
> Scott
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users