Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: runtime/vm/debugger.h

Issue 68113019: Filter frames from debugger stack based on visibility rather than "debuggability" (steppability). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix comment Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 8586626aa054bb0119054923c73b2fd7a6871e75..4f271842bea922575150e0eb6260da56e6fe9cb6 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -217,27 +217,19 @@ class ActivationFrame : public ZoneAllocated {
class DebuggerStackTrace : public ZoneAllocated {
public:
explicit DebuggerStackTrace(int capacity)
- : trace_(capacity),
- user_trace_(capacity) { }
+ : trace_(capacity) { }
- intptr_t Length() const { return user_trace_.length(); }
+ intptr_t Length() const { return trace_.length(); }
ActivationFrame* FrameAt(int i) const {
- return user_trace_[i];
+ return trace_[i];
}
ActivationFrame* GetHandlerFrame(const Instance& exc_obj) const;
private:
- intptr_t UnfilteredLength() const { return trace_.length(); }
-
- ActivationFrame* UnfilteredFrameAt(int i) const {
- return trace_[i];
- }
-
void AddActivation(ActivationFrame* frame);
ZoneGrowableArray<ActivationFrame*> trace_;
- ZoneGrowableArray<ActivationFrame*> user_trace_;
friend class Debugger;
DISALLOW_COPY_AND_ASSIGN(DebuggerStackTrace);
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698