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…

Developing for Ops

October 14, 2014 , posted under debugging devops bugs

We often work on large websites with strict change control practices and scheduled release cycles. Sometimes we also hand over the systems to the client for production and don’t have direct access ourselves.

Some bugs have a nasty habit of only occurring in production, this may be due to high load, odd/old browsers, changes in data, or just because test scenarios don’t cover every eventuality.

What this means is that when we have a bug in production we can only understand it through the error logging we have already built into the system. If we need to put in place additional logging we usually lose the chance of actually fixing the bug for another release cycle.

Read More…