Discussion:
Stepping Animation
(too old to reply)
Jack
2009-08-25 15:02:11 UTC
Permalink
Hi folks,
In Borland C++ debugger, there is a function that can animate stepping from
statement to statement.
Does Visual Studio have this capability?

What other 3rd party software can I download from that does this job?
If It has to be written, what are the steps involved?
I need a callback mechanism too

How can I get the runtime enumerated object's members and attributes?

Thanks
Jack
Jack
2009-08-25 15:20:06 UTC
Permalink
Okay, I found the dump function.
But What about automatic stepping? Do you have any advices on this?
Thanks
Jack
Ulrich Eckhardt
2009-08-26 06:46:21 UTC
Permalink
Post by Jack
In Borland C++ debugger, there is a function that can animate stepping
from statement to statement.
Does Visual Studio have this capability?
What would you like animated? Do you want Clippy to wave and smile?

Uli
--
C++ FAQ: http://parashift.com/c++-faq-lite

Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
Alex Blekhman
2009-08-26 07:27:03 UTC
Permalink
Post by Ulrich Eckhardt
What would you like animated? Do you want Clippy to wave and
smile?
I believe that OP wants to make the debugger advancing step by
step automatically, as if a user presses F10 repeatedly. Basically
it is the same as making a command "press F10(F11) N times", where
N may be infinity, as well.

I remember using that feature with Borland IDE's when I wanted,
for example, to make N loops and then stop wihtout changing the
actual code. However, now one can use conditional
breakpoints/tracepoints for that purpose.

I think this feature of "animated" debugger can be easily
implemebted with a VS IDE macro where F10(F11) press is simulated
N tiems with a short sleep in between.

Alex
Tamas Demjen
2009-08-28 00:31:28 UTC
Permalink
Post by Alex Blekhman
I remember using that feature with Borland IDE's when I wanted,
for example, to make N loops and then stop wihtout changing the
actual code.
There's a Hit Count feature in Visual Studio. So you can stop after the
Nth hit on the break point. There are a number of different options:
HitCount == N, multiple of N, >= N.

What would be nice sometimes is to turn back the clock and step in the
reverse order (for example, stop on an exception, and see what happened
a few instructions before).

Tom

Loading...