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

Unified Diff: runtime/vm/debugger.h

Issue 11946020: Check whether exceptions are caught (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months 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
===================================================================
--- runtime/vm/debugger.h (revision 17157)
+++ runtime/vm/debugger.h (working copy)
@@ -154,6 +154,7 @@
private:
intptr_t PcDescIndex();
+ intptr_t TryIndex();
void GetPcDescriptors();
void GetVarDescriptors();
void GetDescIndices();
@@ -180,6 +181,7 @@
PcDescriptors& pc_desc_;
friend class Debugger;
+ friend class DebuggerStackTrace;
DISALLOW_COPY_AND_ASSIGN(ActivationFrame);
};
@@ -196,6 +198,7 @@
ASSERT(i < trace_.length());
return trace_[i];
}
+ ActivationFrame* GetHandlerFrame(const Instance& exc_obj) const;
private:
void AddActivation(ActivationFrame* frame);
ZoneGrowableArray<ActivationFrame*> trace_;
@@ -293,7 +296,7 @@
const String& field_name);
void SignalBpReached();
- void SignalExceptionThrown(const Object& exc);
+ void SignalExceptionThrown(const Instance& exc);
static void SignalIsolateEvent(EventType type);
private:
@@ -332,7 +335,7 @@
intptr_t nextId() { return next_id_++; }
bool ShouldPauseOnException(DebuggerStackTrace* stack_trace,
- const Object& exc);
+ const Instance& exc);
void CollectLibraryFields(const GrowableObjectArray& field_list,
const Library& lib,
« 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