java - Debugging an SWT application causes all GTK application to freeze -
i have swt application debug via remote debugging in eclipse. if set breakpoint within event handler of swt app hole desktop freezes. can still switch text console via strg+alt+fx. if kill swt app console continues work.
since happens when breakpoint within event handler highly suspect swt block in event loop causing freeze. guess is, there magic parameter swt "seperate" applications, can debug properly, i'm unable find it.
it's known problem native widget having x pointer grab , not releasing it. mutual workaround run inner eclipse on display. utilize xvnc because encounter problem time, other examples xnest.
i've seen people seek utilize -dsun.awt.disablegrab=true
. don't know if works or not.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=20006 lengthy give-and-take of problem , people have tried.
pw
java eclipse swt
No comments:
Post a Comment