Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 0e59903454a043844f36045cacdd514b7f03d6f7..64c251cd8b2b33566a6219f3ba75da61d9240f86 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -703,6 +703,8 @@ class Isolate { |
int frame_limit, |
StackTrace::StackTraceOptions options); |
+ void CaptureAndSetCurrentStackTraceFor(Handle<Object> error_object); |
+ |
// Returns if the top context may access the given global object. If |
// the result is false, the pending exception is guaranteed to be |
// set. |
@@ -1141,6 +1143,10 @@ class Isolate { |
void InitializeDebugger(); |
+ // Traverse prototype chain to find out whether the object is derived from |
+ // the Error object. |
+ bool IsErrorObject(Handle<Object> obj); |
+ |
int stack_trace_nesting_level_; |
StringStream* incomplete_message_; |
// The preallocated memory thread singleton. |