Technical information on this site may be out of date : no updates since 2015

Debugging with Maven and Eclipse

November 19, 2014 , posted under eclipse maven debugging java

To use eclipse with Maven you need to add the maven plugin to eclipse, it seems to be part of the Indigo update site so this should be straightforward.

It’s also at http://download.eclipse.org/technology/m2e/releases

More instructions at http://maven.apache.org/guides/mini/guide-ide-eclipse.html

To run the debugger you need to do two things: you need to tell maven to run surefire, and run a remote java debug listening to that surefire

Read More…

Debugging SOAP with Xdebug and Eclipse

October 14, 2010 , posted under php eclipse xdebug soap

It’s been a while since I’ve worked on a project which is providing as well as consuming web services.

In this case I need to debug incoming requests that are not initiated from with the browser (I’m using soapui as a test tool).

In order to allow Eclipse to pick up xdebug responses triggered by requests from soapui I just needed to

Read More…

xdebug and Eclipse

July 21, 2009 , posted under php eclipse xdebug pdt

xdebug is an immensely powerful tool for exploring what your code really does.

You can get a long way using print_r but ultimately this always requires that you predict the path your code will take - and the tricky bit about debugging is you need it when your predications have gone wrong.

It’s generally pretty easy to set up

Read More…

subversion + three.co.uk = proxy trouble

June 8, 2008 , posted under eclipse linux programming

If you try to access a subversion repository over http while using a 3G connection from three.co.uk you may receive an error message like.

svn: PROPFIND request failed on ‘/repos’ svn: Processing PROPFIND request response failed: Premature end of file. (/repos)

This is because three.co.uk uses a proxy to interecept web traffic on their network.

Read More…