Reviewers: Jakob,

Description:
Larger stack trace string in the minidump when catching Debug::Break crash.

[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/10698103/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/debug.cc


Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index 1f5164f6ac3dc496b205494695bac3bb8b4fd330..777e23dac81a476d16ea77fbb4558be98ae98d43 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -1027,8 +1027,8 @@ Object* Debug::Break(Arguments args) {
       } else if (it.frame()->fp() != thread_local_.last_fp_) {
         // We crawled over last_fp_, without getting a match.
         Handle<String> stack = isolate_->StackTraceString();
-        char buffer[2048];
-        String::WriteToFlat(*stack, buffer, 0, 2047);
+        char buffer[8192];
+        String::WriteToFlat(*stack, buffer, 0, 8191);
         PutValuesOnStackAndDie(0xDEEEEEEE,
                                frame->fp(),
                                thread_local_.last_fp_,


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to