运行之前,在源代码中创建一个断点,以便您能够看到运行中的调试。
Before you run, create a breakpoint in the source code so you can see debugging in action.
在运行程序或连接到已经运行的程序之前,请列出您觉得有错误的源代码,设置断点,然后开始调试程序。
Before you run a program or attach to an already running program, list the source code where you believe the bug is, set breakpoints, and then start debugging the program.
在源代码buffer的第14行左键单击行首,会出现一个红色的圆点,这表示在此行设了一个断点。
At line 14 of the source buffer, left-click in the fringe and a red disk appears. This shows that a breakpoint has been set there.
有一个箭头指向当前指令,你可以像在源代码buffer中一样设置和清除断点。
An overlay arrow points to the current instruction, and you can set and remove breakpoints as with the source buffer.
Emacs会将主程序段的源代码以及GUD、本地变量、断点和栈的buffer在一个frame中。
Emacs now displays the source code of the main routine, together with the GUD, locals, breakpoint and stack buffers, in a single frame.
在第二个断点上单击右键,源代码buffer会访问含有这个断点的文件并显示其位置。
Right-click on the second breakpoint and the source buffer visits the file containing the breakpoint and displays its location.
回到了大写的源代码,并设置在第一行一个断点。
Go back to the source code of Capitalize, and set a breakpoint on the first line.
您不必在源代码窗口中键入断点语句。
You do not type a breakpoint statement into a source window.
可以继续调试,但不能使用源代码窗口设置断点并在此位置执行其他操作。
You can continue to debug, but cannot use the source window to set breakpoints and perform other actions at this location.
不必改动程序源代码就可以删除或更改断点。
Breakpoints can be deleted or changed without having to change your program's source code.
可能在调试不支持汇编的语言时在无源代码的位置命中了某个断点。
You may have hit a breakpoint in a location for which there is no source code, while debugging a language that doesn't support disassembly.
断点不同于这些语句,因为它不是必须添加到程序中的实际源代码。
Breakpoints differ from these statements because breakpoints are not actual source code that has to be added to your program.
在程序被运行或者被连接上之前,列出源代码并且在认为可能有错误的地方下断点。
Before the program is run or before attaching it to a running program, list the source code where the bug is believed to be, and then set break points to start debugging the program.
在程序被运行或者被连接上之前,列出源代码并且在认为可能有错误的地方下断点。
Before the program is run or before attaching it to a running program, list the source code where the bug is believed to be, and then set break points to start debugging the program.
应用推荐