Eclipse调试器停止本身没有任何抛出 [英] Eclipse debugger stops by itself without any throwable

查看:151
本文介绍了Eclipse调试器停止本身没有任何抛出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse调试器突然停止不扔任何东西:

Eclipse Debugger suddenly stops not throwing anything:

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();
    }
}

堆栈是:

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  

如果我preSS简历,申请那张没有任何问题。活动开始OK,但它是不正常的行为,肯定意味着什么是错的。这是什么?

If I press Resume, the application goes on without any problems. The activity starts OK, but it is not normal behavior and surely means something is wrong. What is it?

问题是不是在等待;从开始该应用这点的时间为约2秒。

The problem is not in waiting; the time from starting the app to this point is about 2 seconds.

这不是一个未捕获的异常;我在调试器preferences将它们关闭。

It is not an uncaught exception; I turned them off in debugger preferences.

这是不是一个隐藏的断点,我已经清理它们全部关闭。

It is not a hidden breakpoint, I have cleaned them all off.

推荐答案

和又是一个Eclipse的bug。一些进出的Eclipse后,这种行为就消失了。

And again it was an Eclipse bug. After some entering and leaving the Eclipse, this behaviour disappeared.

至于清洗断点,我用它的时候总是有一些问题与断点,对于已经两年。问题是这一次更深入的 - 我不得不进入和退出Eclipse的很多次 - 我还没有算,有他们的5,我想。和最后一个后问题消失。如果没有重新启动系统,无需在工作区或Eclipse的文件有任何手工制作的变化。我认为,它与调试器,知识产权行为的连接,当它可能打破之前停止。 Eclipse调试器是越野车,并在这个非常复杂的部分,它可能是更马车。

As for cleaning breakpoints, I use it always when there are some problems with breakpoints, for two years already. The problem was deeper this time - I had to enter and exit Eclipse many times - I hadn't counted, there were about 5 of them, I think. And after the last one the problem disappeared. Without the system restart, without any hand-made changes in workspace or Eclipse folders. I think, it is connected with that intellectual behaviour of the debugger, when it stops before the possible break. The Eclipse debugger is buggy and in this, very complicated part, it could be even more buggy.

这篇关于Eclipse调试器停止本身没有任何抛出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆