Did you know… You can press Shift+F11 to step out of a function – #311

“All mixed up you don’t know what to do… Next thing you turn around and find the person is you…” with apologies to the band 311.

I recall learning Step Out once I got to the Visual Studio team. Again, it was a glorious moment.

Suppose you are within a function and want to get out of it because you’re in it by accident or you’re just tired of being in it.

within method Speak()

You can press Shift+F11 from anywhere in the function to jump out of it and back to the caller.

back to the caller of method Speak()

Now the thing i don’t get is how do you know whether this next statement in the above picture is about to execute or has been executed. maybe there’s a visual glyph somewhere that i’m missing…

Technorati Tags: VS2005Tip,VS2008Tip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>