Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
rvm-patchsets/patches/ruby/1.9.3/p392/railsexpress/03-display-more-detailed-stack-trace.patch
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
15 lines (13 sloc)
405 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eval_error.c b/eval_error.c | |
index fd06adf..69c3b48 100644 | |
--- a/eval_error.c | |
+++ b/eval_error.c | |
@@ -164,8 +164,8 @@ error_print(void) | |
int skip = eclass == rb_eSysStackError; | |
#define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5) | |
-#define TRACE_HEAD 8 | |
-#define TRACE_TAIL 5 | |
+#define TRACE_HEAD 100 | |
+#define TRACE_TAIL 100 | |
for (i = 1; i < len; i++) { | |
if (TYPE(ptr[i]) == T_STRING) { |