Eclipse Tip: Navigating stack traces

Most Java developers find themself looking at stack
traces in log files. To locate the origin of these errors in code they
have to find the class then navigate to the line number shown in the

Eclipse has a nice solution for this. Copy the stack
trace from the log, go to the console view in Eclipse, click on the
drop down menu on the Open Console option and choose the Java Stack Trace Console. Now
paste the stack trace. Eclipse adds hyperlinks to the Java class names
with line numbers. Just click on them to navigate the stack trace. Cool.

Update: From eu, “BTW, there is a nasty bug in this stack trace console feature. After
few usages it make Eclipse freeze. Not sure if this is in core or just
conflicting with some other plugins.” Too bad. Looked like a nice feature.