Revision: 15930
Author: [email protected]
Date: Mon Jul 29 04:56:45 2013
Log: Make it easier to get JS stack crawls from gdb
[email protected]
Review URL: https://codereview.chromium.org/21060002
http://code.google.com/p/v8/source/detail?r=15930
Modified:
/branches/bleeding_edge/src/isolate.cc
/branches/bleeding_edge/src/isolate.h
=======================================
--- /branches/bleeding_edge/src/isolate.cc Thu Jul 25 08:01:23 2013
+++ /branches/bleeding_edge/src/isolate.cc Mon Jul 29 04:56:45 2013
@@ -842,6 +842,11 @@
stack_trace->set_length(Smi::FromInt(frames_seen));
return stack_trace;
}
+
+
+void Isolate::PrintStack() {
+ PrintStack(stdout);
+}
void Isolate::PrintStack(FILE* out) {
=======================================
--- /branches/bleeding_edge/src/isolate.h Mon Jul 29 02:19:10 2013
+++ /branches/bleeding_edge/src/isolate.h Mon Jul 29 04:56:45 2013
@@ -737,6 +737,7 @@
void PrintStackTrace(FILE* out, char* thread_data);
void PrintStack(StringStream* accumulator);
void PrintStack(FILE* out);
+ void PrintStack();
Handle<String> StackTraceString();
NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
Object* object,
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.