I am working on Visual Studio 2008 Professional. I want to log the entry and exit from every method in my code. Specifically I want to log the function name and timestamp at function entry and function name, timestamp and return value at function exit. It is possible to do this with gdb (Reference: Please look at the following question and the accepted answer - Tool to trace local function calls in Linux). Does VS debugger allow me to do this?
Asked
Active
Viewed 312 times
1
-
Possible dup: http://stackoverflow.com/questions/3981440/use-c-attribute-to-track-function-call-variables-and-return-value – dcp Apr 14 '11 at 13:05
-
@FractalizeR: C++ with Win32API – Bruce Apr 14 '11 at 13:09
1 Answers
1
I think the preffered way to do this now a days is to use IntelliTrace. If you tune it to gather enough information, it will provide a report with all the functions calls, parameters etc.

Bogdan Gavril MSFT
- 20,615
- 10
- 53
- 74