Provide accessor for object internal properties that doesn't require debugger to...
authoryurys <yurys@chromium.org>
Tue, 12 May 2015 12:38:17 +0000 (05:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 12:38:15 +0000 (12:38 +0000)
commitbdeb0de88c8cf5f2c78f261b45314138f525110d
tree3fa62ad67998077131fff1291d481c3711197612
parent0c80fdc61e79ae3cff89a44c536b268a67956675
Provide accessor for object internal properties that doesn't require debugger to be active

Some of the DevTools' clients need to inspect JS objects without enabling debugger. This CL allows to inspect object's internal properties without enabling debugger and instantiating debug context.

Note that now debug context can be created lazily if v8::Debug::GetDebugContext is called when there is no debug listener. This is fragile and has already resulted in some subtle error. I'm going to fix that in a separate CL.

BUG=chromium:481845
LOG=Y

Review URL: https://codereview.chromium.org/1126103006

Cr-Commit-Position: refs/heads/master@{#28362}
include/v8-debug.h
src/api.cc
src/bootstrapper.cc
src/contexts.h
src/mirror-debugger.js
src/objects.cc
src/objects.h
src/runtime/runtime-debug.cc
src/runtime/runtime.h