Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] problems running swtbot test suite in some configurations

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
My blog - My Tweets

Back to the top