Chromium Code Reviews| 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_++; |