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 w开发者_C百科ith 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?
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.
精彩评论