Btw, if you have stacktraces with files and lines in it (e.g. compile without -Xg, but with -gl) then you may want to look at the package "Leak View".
It was originally designed to open the output of the leak trc unit, but you can copy and paste the stacktraces from exception etc too.
You can then double click the lines, to navigate to the unit in the IDE.