Performing a recording

I am testing an application in debug mode under several conditions. Now I do this by writing some states and executing functions on a piece of paper and then comparing the scripts.

Does anyone know if there is any built in functionality in VS2008 or any additional tool that could record the selected states and the functions being performed?

Thank!

0


source to share


2 answers


You should look into the TRACE and DEBUG directives . This means that you have to write code in your application where you want to record events or states of variables, but this will give you a personalized level of detail that should be better than writing information on a piece of paper.



Any DEBUG statements will only be compiled into a Debug assembly, while TRACE statements are available for both debug and release (see the specified directive).

0


source


It depends on what you want to track, but if you are comparing what features are running a profiler like Vtune can help. It can generate a table of which functions were called and how often, or a call tree. I believe VS2008 Professional or Enterprise comes with a profiler, although I haven't used one.



0


source







All Articles