Eclipse Debugger突然停止不抛出任何东西:
private void openChannelsListActivity() {
try{
Intent gridListIntent=new Intent();
// the pause is on the following line
gridListIntent.setClass(this,ChannelsListActivity.class);
startActivity(gridListIntent);
}
catch (Throwable e){
ErrorMessage.outputMessageByName(
"channels_list_activity_create",this, " While setting intent.");
finish();
}
}
Run Code Online (Sandbox Code Playgroud)
堆栈是:
DexFile.defineClass(String, ClassLoader, int, ProtectionDomain) line: not available [native method]
DexFile.loadClassBinaryName(String, ClassLoader) line: 207
PathClassLoader.findClass(String) line: 200
PathClassLoader(ClassLoader).loadClass(String, boolean) line: 551
PathClassLoader(ClassLoader).loadClass(String) line: 511
PackVideo.openChannelsListActivity() line: 508
Run Code Online (Sandbox Code Playgroud)
如果我按下Resume,应用程序将继续运行而不会出现任何问题.活动开始正常,但这不是正常行为,肯定意味着出错了.它是什么?
问题不在于等待; 从启动应用程序到此时的时间约为2秒.
这不是一个未被捕获的例外; 我在调试器首选项中将其关闭.
它不是一个隐藏的断点,我已将它们清理干净了.
我已经使用 Eclipse 进行开发 2 年了,但是在调试过程中我仍然很难理解这个过滤器概念。
我通常在远程端口模式下调试。
大多数时候,My Eclipse 会捕获不需要的包中的断点/异常 [包通常来自 Spring、Java ThreadPool 等其他来源],并通过调出调试窗口来惹恼我。
I would like to configure Eclipse to catch breakpoints in my package only. Just ignore any where else, don't halt them or notify me.