程序失败后,打开“断点”窗口并查看断点列表。
When it fails, open the breakpoints window and look at the list of breakpoints.
查看断点属性时,该断点显示为一个地址断点,这个地址断点具有一个与函数中下一个可执行指令相对应的内存位置。
When you view the breakpoint properties, this breakpoint appears as an address breakpoint with a memory location corresponding to the next executable instruction in the function.
但是我们并不这样做,这里将单击该按钮10次,查看断点后每一行代码的执行,直到变量s的值更改为已存储的注释;如图10所示。
Click this button about 10 times to see each line after the breakpoint executes until the value of s changes to the stored note; see figure 10.
碰到这个断点之后,我们就可以对代码进行单步跟踪了,还可以对变量进行查看或修改。
Once the break point is hit, you can step through the source and view or modify the variables.
如果应用程序包含表单,那么可以在表单处理函数上设置断点并查看输入的参数。
If the application had forms, you could set a breakpoint at the form handler and view the incoming parameters.
使用调试器,可以设置断点并查看PHP代码到所设断点之前的浏览器输出。
Using the debugger, you can set breakpoints and see the browser output from your PHP code up to the breakpoint you set.
而且可以使用其中的可视化调试器来调试中介流,在这个可视化调试器中查看消息值的过程中,可以添加断点并单步跳入、单步遍历或单步跳过感兴趣的部分。
Moreover, you can debug mediation flows using an in-place visual debugger where you can add breakpoints, and step into, through, or over areas of interest while inspecting the values of the messages.
通过在代码中逐步执行、设置断点、查看变量内容等方法调试存储过程。
Debug stored procedures by stepping through the code, setting breakpoints, and viewing variable content.
要查看当前定义了什么断点及其条件,请发出命令'infobreak'
To see what breakpoints are currently defined and their conditions issue the command 'info break'
然后可以继续代码的执行并查看到下一断点之前的浏览器输出,然后再到下一个,直到PHP脚本完成。
You can then resume code execution and see the rest of the browser output up to the next breakpoint and the next until your PHP script has completed.
例如,当调试时,可以切换到调试透视图(选择Window-OpenPerspective -Debug),可以在其中设置 /删除断点、查看变量和遍历执行代码。
For instance, when you are debugging, you switch to the debug perspective (choose Window - Open Perspective - Debug) where you can set/remove break points, watch variables, and step through code.
为了查看在main()中发生了什么情况,可以在程序代码中的某一特定行或函数中设置断点,这样gdb会在遇到断点时中断执行。
To see what's going on in main() we can set a breakpoint at a particular line or on a function in the program code so gdb will interrupt execution when it is reached.
名为Cylon的调试器提供了人们所能想到的所有特性:传统的断点、基于异常的断点、调用栈、监视器以及变量的查看和操作。
The debugger - called Cylon - provides all the features one could expect: conditional breakpoints, breakpoints on exceptions, call stack, watches, the exploration and manipulation of variables.
进程内的脚本代码将继续运行,但无法设置断点、查看数据或在脚本中执行其他调试操作。
The script code in the process would still run, but you would not be able to set breakpoints, view data, or perform other debugging operations in the Script.
在您调试时不断点击浏览器的Refresh按钮,查看修改后的效果。
Periodically hit your browser's Refresh button to see your changes take effect as you play around. Figure 6 reflects the adjustments made in Listing 13.
断点是函数执行停止所处的点,从而让程序员有机会查看变量的值、表达式的值、调用函数等等。
A breakpoint is a point in a function at which code execution stops and the programmer is given the opportunity to inspect the value of variables, evaluate expressions, call functions, and so on.
断点是函数执行停止所处的点,从而让程序员有机会查看变量的值、表达式的值、调用函数等等。
A breakpoint is a point in a function at which code execution stops and the programmer is given the opportunity to inspect the value of variables, evaluate expressions, call functions, and so on.
应用推荐