如何让Intellij在运行控制台中显示更多堆栈帧?

时间:2016-07-15 21:27:11

标签: intellij-idea

在运行时,运行控制台显示如下内容:

Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at org.robolectric.RobolectricTestRunner.getHooksInterface(RobolectricTestRunner.java:455)
    ... 29 more
Caused by: java.lang.ExceptionInInitializerError
    at org.robolectric.internal.ParallelUniverse.<init>(ParallelUniverse.java:32)
    ... 34 more
Caused by: java.lang.RuntimeException: No shadows modules found containing a org.robolectric.ShadowsAdapter
    at org.robolectric.Robolectric.instantiateShadowsAdapter(Robolectric.java:91)
    at org.robolectric.Robolectric.<clinit>(Robolectric.java:14)
    ... 35 more

我希望看到所有的帧,而不是“...... 35以上”

这是使用IntelliJ 2016.1.2

1 个答案:

答案 0 :(得分:1)

文件|设置|编辑|一般|控制台