Eclipse freezes after stopping at breakpoint in a static block [message #336796] |
Fri, 03 July 2009 02:51  |
Eclipse User |
|
|
|
Hello,
trying to debug code written in Java 5 I set a breakpoint within a static
block like
static {
x Java statements
}
The x indicates the breakpoint. Debugging the application it really stopped
at the breakpoint and for a short moment I could even see the stacktrace of
the thread. Afterwards - without any further interaction - the screen became
white and Eclipse hang. There was no chance to access Eclipse in order to
continue the debug run.
What may be the reason for this behaviour, which I only observed with the
breakpoint the static block, or how can the cause be determined?
How can it be avoided, that Eclipse suddenly hangs after stopping at the
breakpoint?
I work with Eclipse 3.4.2.
Thomas Wiedmann
|
|
|
|
Re: Eclipse freezes after stopping at breakpoint in a static block [message #336825 is a reply to message #336812] |
Mon, 06 July 2009 02:40  |
Eclipse User |
|
|
|
> I tried to reproduce this in both 3.4.2 and 3.5 but it works just fine.
> Can you provide more detailed steps to reproduce it?
> Some information that would be useful:
> What OS are you using? What JVM? Have you specified in eclipse.ini what
> JVM it should use?
When trying it again, I couldn't reproduce that problem case, too. Sorry.
I suppose, the problem, observed recently, must have another reason - I'll
observe, whether it would happen again.
Thomas Wiedmann
|
|
|
Powered by
FUDForum. Page generated in 0.02480 seconds