Project: Eclipse_Platform_UI
Bug 147305 [Workbench] Fix detection of early event loop spinning in debug mode
Reported: 2006-06-15 11:02:33 | Status: resolved fixed

Workbench.runUI uses currently checks for early spinning of the event loop if WorkbenchPlugin.DEBUG is true, but WorkbenchPlugin.DEBUG is only set to true later in the initialization of the Workbench. Should use WorkbenchPlugin.getDefault().isDebugging() instead.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java