We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3558cd5 + d12f986 commit 20ec2bfCopy full SHA for 20ec2bf
1 file changed
build.gradle
@@ -33,6 +33,10 @@ allprojects {
33
34
version = '0.2.1'
35
36
+ compileJava {
37
+ options.compilerArgs << "-g"
38
+ }
39
+
40
jacocoTestReport {
41
reports {
42
xml.enabled = true
@@ -184,6 +188,13 @@ project(":ui") {
184
188
appID = 'GRIP'
185
189
appName = 'GRIP'
186
190
mainClass = "edu.wpi.grip.ui.Main"
191
192
+ // This prevents the JIT from eating stack traces that get thrown a lot
193
+ // This is slower but means we actually get the stack traces instead of
194
+ // having them become one line like `java.lang.ArrayIndexOutOfBoundsException`
195
+ // and as such, would be useless.
196
+ // See: https://plumbr.eu/blog/java/on-a-quest-for-missing-stacktraces
197
+ jvmArgs = ["-XX:-OmitStackTraceInFastThrow"]
187
198
}
199
mainClassName = javafx.mainClass
200
0 commit comments