Link Details

Link 13091 thumbnail
User 111696 avatar

By bloid
via geekswithblogs.net
Published: Feb 08 2007 / 03:59

In this article, I will explain how you can track class activities like function calls, parameters and return values by simply inheriting one class which I named "Spy". The "Spy" class encapsulates the tracking and logging relates the complexities . This class can be used for debugging function call sequence, state change of objects & parameters on the way of nested function calls and their return steps.
  • 8
  • 0
  • 955
  • 265

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)