On 18-Jun-08, at 12:53 PM, Hans Schwaebli wrote: > If I close all Eclipse projects except org.rcpmail and > org.rcpmail.test, then the test runs without that error. Same run > configuration in both cases. > > How do you debug SWT Bot and do you know why that error occurs and > how to debug SWT Bot?
It's difficult to debug SWTBot because it runs in a non-UI thread and a lot of interesting things happen over a period of time when you switch focus between your application and eclipse. The way I debug SWTBot is to turn on logging. See http://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.finder.test/src/log4j.xml If what you want to debug is the launcher, it's next to impossible in eclipse 3.3, this has been fixed in 3.4 https://bugs.eclipse.org/bugs/show_bug.cgi?id=109137 -- Ketan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse