On 10/23/2013 07:29 PM, Lorenzo Bettini wrote:
I'm also trying to "debug" what's going wrong by inserting println

        @Test
        public void getsAllShells() throws Exception {
                for (SWTBotShell s : bot.shells())
                        System.out.println("shell: " + s.getText());
                assertEquals(2, bot.shells().length);
        }
You can debug by setting a "-DdebugPort=8000" property and then use Eclipse to bind debugger on port 8000.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>
_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to