public Publication parsePublication(String inputLine) throws ParseException {
Publication publication = new Publication();
String[] fields = inputLine.split("\t");
publication.setPublicationType(fields[0]);
...
return publication;
} Essentially, I wanted to break after inputLine.split("\t"); if and only if fields[35]
existed and was equal to "PM:16732581." After examining IDEA [1]'s
Breakpoint dialog, I noticed a section in the bottom right-hand corner
that I'd never played with before:

Enter
the desired conditions and voila! A conditional breakpoint. It worked
like a charm the very first time, and I only had to inspect the
breakpoint when the problematic record came up.
Another nice
feature of the conditional breakpoint is that if some sort of exception
(such as a NullPointerException) occurs while attempting to evaluate
the conditional expression, IDEA pops up a dialog informing you what
happened and asking if you want to stop at the breakpoint or continue.
Nice.
Links:
[1] http://www.jetbrains.com/idea/?dzone