Eclipse debugger stops by itself without any throwable

android, debugging, eclipse

Solution

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

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.

Problem

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(); } } ``` The stack is: ``` 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 ``` 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? The problem is not in waiting; the time from starting the app to this point is about 2 seconds. 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.

Original source