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

Unified Diff: runtime/vm/object.h

Issue 12316116: Add functionality to get full stack trace when exceptions are thrown. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 19025)
+++ runtime/vm/object.h (working copy)
@@ -6293,16 +6293,19 @@
void Append(const GrowableObjectArray& func_list,
const GrowableObjectArray& code_list,
const GrowableObjectArray& pc_offset_list) const;
+ void SetCatchStacktrace(const Array& func_array,
+ const Array& code_array,
+ const Array& pc_offset_array) const;
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawStacktrace));
}
- static RawStacktrace* New(const GrowableObjectArray& func_list,
- const GrowableObjectArray& code_list,
- const GrowableObjectArray& pc_offset_list,
+ static RawStacktrace* New(const Array& func_array,
+ const Array& code_array,
+ const Array& pc_offset_array,
Heap::Space space = Heap::kNew);
- const char* ToCStringInternal(bool verbose) const;
+ RawString* FullStacktrace() const;
private:
void set_function_array(const Array& function_array) const;

Powered by Google App Engine
This is Rietveld 408576698