On Oct 8, 2010 1:56 AM, "Vincent Han" <[email protected]> wrote:
> Hi all
>
> I'm studying V8 Debug protocol using Android 2.2
>
> Protocol processing between Chromium and ChromDevTools is like
> below(only v8 protocol)
>>> request command:version
> << response of req (version)
>>> request command:scripts arg:includeSource
> << response of req (scripts) body: source that requested...
>
> so I modified the V8 source for EnableAgent and compile succeed.
> Then I connect to V8 debugger and got right response for several
> request like "version", "setbreakpoint", etc..
>
======================================================================================
>>> request version
> Content-Length:47
> {"seq":0,"type":"request","command":"version"}
>
> << response
> Content-Length: 128
> {"seq":0,"type":"response","command":"version","success":true,"body":
> {"V8Version":"2.1.3 (candidate)"},"refs":[],"running":true}
>
======================================================================================
>
> But Android Browser is forced terminated with SIGILL when I requested
> "scripts" or "frame" request protocol.
>
======================================================================================
>>> request scripts
> Content-Length:48
> {"seq":11,"type":"request","command":"scripts"}
>
> lost host connection ==> browser is forced terminated
>
>>> request scripts
> Content-Length:93
> {"seq":2,"type":"request","command":"scripts","arguments":
> {"includeSource":true,"ids":[22]}}
>
> lost host connection ==> browser is forced terminated
>
======================================================================================
>
> I want to get sources like between Chromium and ChromDevTools.
>
> Am I miss something?
>
> Plz help me!
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

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

Reply via email to