title: Profiler that logs arguments of dll
body: <p>Is there a profiler(or similar program) that will log the function calls and arguments sent to a dll.  By arguments I mean the data sent to the function; not the data type of the argument.</p>
  
  <p>For example say I have</p>
  
  <hr>
  
  <p>dll</p>
  
  <pre><code>int myAdd(int a, int b)
      return( a+b )
  </code></pre>
  
  <p>main </p>
  
  <pre><code>int a = myAdd(1, 2)
  int b = myAdd(3,4) 
  int c = myAdd(5,6)
  </code></pre>
  
  <hr>
  
  <p>I'd want the profiler to log:
    myAdd was called with (1,2)
    myAdd was called with (3,4)
    myAdd was called with (5,6)</p>
  
  <p>Brian</p>