Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stepping through the code in MS VC++

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am a bigginer in C and I use the VC++ interface from Visual Studio 6.0 to code, debug and compile my c files.

When I try to step through the code (step by step), every time it comes to a function from the include files, such as printf(), it steps through the include files themselves to go through the function.

How can I make VC++ step only through the code in my c file and not through the code of every function in the include files??

Any help is apreciated.

Felipe

 
Hi,
You want the 'step over' hotkey for that.
I use symantic so I'm not sure what key it is in MSVC but it'll be on the debug menu along with 'step into' and 'step out'.

You may also be able to set this up via Debug Settings/Options.

 
Forgive my crude graphics, but it's what I'm stuck with...
[ignore]
"step into" is F11, toolbar button is arrow pointing into brackets
___
{|}

"step out " is Shift-F11, toolbar button is arrow pointing out of brackets
___
{|} |

"step over" is F10, toolbar button is arrow pointing over brackets
_____
{ } |
[/ignore]
X-) hope that helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top