Skip to content

Commit 3937ddb

Browse files
authored
Merge pull request #8906 from dotty-staging/large-stack
Do not cut off the bottom of large stack traces
2 parents 5db5d5d + 67d4ef3 commit 3937ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/Build.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ object Build {
215215
case Some(prop) => List("-Xmx" + prop)
216216
case _ => List()
217217
}
218-
agentOptions ::: ciOptions
218+
// Do not cut off the bottom of large stack traces (default is 1024)
219+
"-XX:MaxJavaStackTraceDepth=1000000" :: agentOptions ::: ciOptions
219220
}
220221
)
221222

0 commit comments

Comments
 (0)