Tuesday, December 01, 2009

Looking at java stack traces

While looking at stack traces,

  1. Read from the bottom of the trace
  2. Read the Message of the last stack trace (usually there are many with “caused by”)
  3. Look for a line in the stack trace that indicate a call to your package in the stack trace. This way, you will know how your code is getting called and what your code is doing.

No comments: