Shahed's blog

Sharing my thoughts and work

  Home  |   Contact  |   Syndication    |   Login
  18 Posts | 0 Stories | 102 Comments | 10 Trackbacks

News

Archives

Post Categories

February 2007 Entries

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. How it works? The Spy class adds small spy properties at the time of object creation with...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati