View RSS Feed

My Java Tips

Stack traces

Rate this Entry
by , 05-24-2011 at 01:28 PM (1312 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: 51
Size:  21.6 KB

Submit "Stack traces" to Facebook Submit "Stack traces" to Digg Submit "Stack traces" to del.icio.us Submit "Stack traces" to StumbleUpon Submit "Stack traces" to Google

Tags: stack Add / Edit Tags
Categories
Eclipse

Comments