java 调用视图_如何在Java的Eclipse调试视图中过滤调用堆栈

调试时,Eclipse中的Debug视图显示了调用堆栈。太好了 但我希望能够过滤掉我绝对不关心的所有调用,例如Spring和JUnit运行器。

这是我现在的调用堆栈的示例。我想将所有条目保留为粗体,同时将所有其余部分隐藏。有可能做任何事情吗?(插件,下一个Eclipse版本,配置,…)

**com.myproject.mymodule.MyFinderObject.fetchDestinationSettings

com.myproject.mymodule.MyFinderObject.compareCurrentSettings

com.myproject.mymodule.MyFinderObject.compareSettings**

sun.reflect.NativeMethodAccessorImpl.invoke0

sun.reflect.NativeMethodAccessorImpl.invoke

sun.reflect.DelegatingMethodAccessorImpl.invoke

java.lang.reflect.Method.invoke

org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection

org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed

com.myproject.caching.CachingInterceptor.invoke

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed

org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed

org.springframework.aop.framework.JdkDynamicAopProxy.invoke

$Proxy43.doSthWith

**com.myproject.mymodule.MyFinderObjectTest.testSettingComparisonForCurrentSettings**

sun.reflect.NativeMethodAccessorImpl.invoke0

sun.reflect.NativeMethodAccessorImpl.invoke

sun.reflect.DelegatingMethodAccessorImpl.invoke

java.lang.reflect.Method.invoke

com.myproject.mymodule.MyFinderObjectTest

com.myproject.mymodule.MyFinderObjectTest

com.myproject.mymodule.MyFinderObjectTest

junit.framework.TestResult$1.protect

junit.framework.TestResult.runProtected

junit.framework.TestResult.run

com.myproject.mymodule.MyFinderObjectTest

junit.framework.TestSuite.runTest

junit.framework.TestSuite.run

org.junit.internal.runners.JUnit38ClassRunner.run

org.eclipse.jdt.internal.junit4.runner.JUnit4TestMethodReference

org.eclipse.jdt.internal.junit.runner.TestExecution.run

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值