Hi Soren

Sorry for not replying earlier -- I was on vacation.

On 2009/09/30 09:19:15, Søren Gjesse wrote:
> If you need some way of checking whether the VM is running you should add  
> a
> command for that and not rely on a command like backtrace returning an  
> empty
> response.

Actually my plan was to rely on "running" field of backtrace response. I  
don't
need "body" at all. I just wanted to be accurate and additionally block
random-time stacktraces; I'm find with leaving them.
I'm going to fix "running" field in responses by this CL.  
Currently "running"
field is not accurate at all.

Do you really thing I should introduce additional command instead of using
"running"?


> When connecting to the debugger agent the VM should never be in a
> break state as all debugger events are ignored when no debugger is  
> connected.

I propose we separate this statement from a previous one. Currently I'm  
working
from assumption that VM may be found in a break state (there are some  
reasons
for this).


http://codereview.chromium.org/242034

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

Reply via email to