KB-20071113-029
From Triled Wiki
- Status: respond received
- author: matthey
- link:
- Confirmed on: Eclipse 3.3.1.1: OSX 10.4.10/10.5.1, Windows XP, Vista.
- Description: Attempt to debug causes Eclipse to crash.
- Steps to reproduce:
Debug any application that has code similar to:
... Object someObject = null; ...
You will get crash.
[edit] Temporarily solution
suggested by Andreas Beresko [1].
When you need to assign "null" to an object, just extract the assignment into a separate method and in debug mode, step over it.
e.g.
Object o = new Object();
setToNull(o); // <-- do NOT step into in debug, because this will lead to the crash!
private void setToNull(Object o){
o = null;
}
