请教老师一道题
题目是这样的:if you stop your scriot in some step , and them want to check it step by step , which kind of function will you use ?
选项有: step into ,step over ,debug ,break point
因为在书中只介绍了step into, step over,step out与调用另一个action时的作用:
STEP INTO: Runs the current step of the active test. If the current line calls another
action, the called action is displayed. The test pauses at the first line of the called
action.
• STEP OVER: Runs the current step in the active test. When the current step calls
another action, the called action is executed but not displayed.
• STEP OUT: Runs the current step until the end of the function, returns to the calling
component or function library, and then pauses the run session.
如果只是普通的action,这几个具体的功能要怎么用? 希望老师能解释一下这几个功能,以及上面那道题,谢谢! 帮助文档写的很清楚,单步调试是F11 ,也就是step into
其他两个,step over指的是流经函数体是直接执行过去,不进入函数体内单步调试;
step out是正在函数体内调试的时候,如果不希望再单步调试下去了,那么直接跳出当前函数体。 好的,知道了,谢谢!sdlkfj2
页:
[1]