Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Library to output/log the debug trace of programmer's source code

 
Riffle Chris
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everybody,

Does anybody know of a library, that can, while an application is running, output the debug trace of all the methods that are executed, and display in a format that is human-readable ascii text of the programmer's java source code - without displaying all the methods called from the jdk/jre?

Thanks!
Chris
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what the latest Java 6 stuff can do, but it's easy to instrument code like this using AspectJ.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic