How to know the last line of code executed

Newbie Member
27May2010,16:10   #1
sreeharsha6's Avatar
Hi,
I want to know is there any way to know what was the last line of code that got executed in java. either through Stack or Reflection.