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

Unified Diff: src/isolate.cc

Issue 21060002: Make it easier to get JS stack crawls from gdb (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | « src/isolate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index ccd6f280dc0ae0415e0598555b8fddc5f2bb6ad8..058ee8aa114c3d4fb6b07ff3fb2ea72cd8546a82 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -844,6 +844,11 @@ Handle<JSArray> Isolate::CaptureCurrentStackTrace(
}
+void Isolate::PrintStack() {
+ PrintStack(stdout);
+}
+
+
void Isolate::PrintStack(FILE* out) {
if (stack_trace_nesting_level_ == 0) {
stack_trace_nesting_level_++;
« no previous file with comments | « src/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698