Hi all.
I'm testing V8 debug in Android emulator.

I compiled Android versoin 2.2 and run emulator.
ofcource, I inserted EnableAgnent and SetDebugMessageDispatchHandler
source in V8.cc for V8 debug

1. start emulator and launch browser
2. cmd -> adb forward tcp:9222 tcp:9222 and telnet localhost 9222

After this following, I can see the message below
--------------------------------------------------------------
Type: connect
V8-Version: 2.1.3 (candidate)
Protocol-Version: 1
Embedding-Host: NAME
Content-Length: 0
--------------------------------------------------------------

That is received message from v8 in android.
then type the request message
--------------------------------------------------------------
Content-Length:47

{"seq":0,"type":"request","command":"version"}
--------------------------------------------------------------

then the response is coming.
--------------------------------------------------------------
Content-Length: 128

{"seq":0,"type":"response","command":"version","success":true,"body":
{"V8Version":"2.1.3 (candidate)"},"refs":[],"running":true}
--------------------------------------------------------------


then click somewhere in android browser page for moving page,  it
doesn't work.
Browser in android emulator is forced terminated and command window
printed "disconnect local host"
I can see the message "Process 327 terminated by signal (11)" in
logcat.
Am I got some wrong process?
Or need some more code patches?

If I didn't request v8 debug message, browser works fine.
only after send request debug message to v8 in android, break down is
occurred.


And some v8 debug request can occur break down too.
ex) script request: {"seq":
2,"type":"request","command":"scripts","arguments":
{"includeSource":true,"ids":[0]}}
      that request message can't received response. just occur telnet
disconnecting and browser forced terminating


Please Help me!!!!!

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to