Reviewers: ulan, yangguo, yurys,
Description:
Expose FrameDetails and ScopeDetails from its Mirrors.
We in fact already access these via the private property "details_".
Make it into the API.
R=yangguo, ulan, yurys
Please review this at https://codereview.chromium.org/200243002/
SVN Base: git://github.com/v8/v8.git@master
Affected files (+10, -0 lines):
M src/mirror-debugger.js
Index: src/mirror-debugger.js
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js
index
27c2c9c9abf6a56cd9c7c2e9b22e0fc93510ab37..f288123bcafad8ea3ea01b9f626ebe8a7c612d32
100644
--- a/src/mirror-debugger.js
+++ b/src/mirror-debugger.js
@@ -1543,6 +1543,11 @@ function FrameMirror(break_id, index) {
inherits(FrameMirror, Mirror);
+FrameMirror.prototype.details = function() {
+ return this.details_;
+};
+
+
FrameMirror.prototype.index = function() {
return this.index_;
};
@@ -1964,6 +1969,11 @@ function ScopeMirror(frame, function, index,
opt_details) {
inherits(ScopeMirror, Mirror);
+ScopeMirror.prototype.details = function() {
+ return this.details_;
+};
+
+
ScopeMirror.prototype.frameIndex = function() {
return this.frame_index_;
};
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.