View RSS Feed

My Java Tips

Stack traces

Rate this Entry
by , 05-24-2011 at 02:28 PM (1941 Views)
You must have seen stack traces in console window of your Eclipse. Good this is that Java stack traces in the console appear with hyperlinks. This means you can click these to go to the referred place in the code. This helps in problem identification.

Here is how is works: place the mouse over a line in a stack trace and the pointer changes to the hand. Pres the mouse button and associated Java source file will be opened and the cursor will be placed at the corresponding line. Pressing the mouse button on the exception name at the top of the stack trace will create an exception breakpoint.

Name:  eclipseconsoletraces.jpg
Views: 77
Size:  21.6 KB

Submit "Stack traces" to Facebook Submit "Stack traces" to Digg Submit "Stack traces" to Submit "Stack traces" to StumbleUpon Submit "Stack traces" to Google

Tags: stack Add / Edit Tags