I have a piece of Java code I can't edit which I want to debug.
The issue is that one of my 10,000 records has a data error and is causing the application to crash.
I can remote debug the live application and add watch which would pick up the id of the record as each is processed. The problem is when the "bad record" is processed and the method is exited the value held in the watch is lost so I don't know which record it was that causes the problem.
Is there any way of storing/printing the value held in the watch
Thanks