| [news.eclipse.tools.gef] Re: Crash with empty Labels on Linux |
"Billy Biggs" <bbiggs@xxxxxxxxxx> wrote in message news:dijflh$a39$1@xxxxxxxxxxxxxxxxxxx
A snippet would be very helpful. X is asynchronous, but in SWT there is a way to put it in synchronous mode so you can get a stack trace of where the failure occurs. When creating the display:
Device.DEBUG = true; DeviceData data = new DeviceData(); data.debug = true; Display display = new Display (data);
Billy, can this be done by using the PDE launcher's Tracing Tab?
Good call. If you enable tracing for org.eclipse.ui, one of the options is "debug/swtdebug". This _should_ enable both Device.DEBUG and data.debug, but it may only do the latter which would be less useful in this case.
Try swtdebug, and if you don't get a stack trace, file a bug against Platform > UI asking for more tracing options :)
-Billy