guys, VC2010 provides debugging tool "trace" which enable to output not only variable values into output window, but also some built in arguments like TID TNAME, PID, etc.
I want to make trace to output time stamp also, is this possible int VS2010?
Thanks!
You can use the predefined variable $TICK, info @ MSDN
You can output the result of an expression by using curly brackets.
If you have
int x;
x=10;
...
and you setup a trace point after x=10 witht he expression x={x}, it will output x=10 to your output window.
Just put an expression which gives you a timestamp inside the curly brackets, like timestamp={time(0)} (depending of course which API you use to get the time ....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With