2013-07-03 23 views
1

我为一个项目使用了一个旧的编译器(Microsoft Visual C++ 6.0(1998)),我想知道是否有办法在.c文件的每个函数中自动放置断点,或者如果有调试或查看代码的跳转到下一个声明函数的快捷方式。Microsoft Visual C++ 6.0中的断点

谢谢!

+0

你问的是如何以编程方式做到这一点,或问如何使用IDE? – doctorlove

+0

IDE,我想我记得看到有关如何从一个功能切换到另一个功能的快捷方式? –

+0

我猜想要么工作 –

回答

0

要设置断点,请将光标置于所需的位置并按F9键(或使用鼠标右键|插入/移除断点)。键盘命令的

摘要

F5  Start program execution, run until a breakpoint is reached. 
Shift-F5  Stop debugging and return to program edit mode. 
Ctrl-Shift-F5  Restart the program in debugging mode. 
F9  Insert, disable or remove a breakpoint. 
Shift-F9  Get the value of a variable. 
F10  Execute the current statement or function call. 
Ctrl-F10  Run the program to the point where the cursor is. 
F11  If the current statement is a function call, step into the function. 
Shift-F11  If executing a function, run to the end and return to the calling statement. 
+0

我知道所有的调试基本快捷键,我问是否有从函数跳转到函数的方法,或者在.c文件中的每个函数中自动插入断点 –

+0

Ctrl + UP或Ctrl +向下? – MAST3RMIND