My v8 version: 5.7.492.71


I want to evaluate a big string more than 1500 Characters. So i simply send 
an evaluate command to v8 which look like that :


"{"args":{"disable_break":false,"expression":"obj.getJSON();","frame":0},"requestID":1}"


obj.getJSON(); is a method which return a json of an object, this is what i 
want.

But the response is truncated, and i don't know why, it looks like that :


"{"response":{"seq":7,"request_seq":1,"type":"response","command":"evaluate","success":true,"body":{"handle":139,"type":"string","value":"Lorem
 ipsum dolor sit amet, consectetur adipiscing elit. Nulla sit amet nisl era... 
(length: 2000)","fromIndex":0,"toIndex":80,"length":2000,"text":"Lorem ipsum 
dolor sit amet, consectetur adipiscing elit. Nulla sit amet nisl era... 
(length: 2000)"},"refs":[],"running":false}}"


Here the important things are the toIndex attribute which limits my string 
to 80 characters, but you can see that my string as a size of 2000 
characters with the length attribute.


Someone can help me to fix it ? Can i add an attribute in the request to 
specify the limit ?


Thanks.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to