一般情况下,此退出代码为0指示成功;若为其他值,则指示不同类型的错误。
Typically, this exit code is 0 to indicate success with other values indicating different types of errors.
应用程序通常都会向操作系统返回一个退出代码,指示应用程序是否已成功退出。
An application typically returns an exit code to the operating system to indicate whether an application exited successfully or not.
表达式可以使用在常数值、命令的退出代码、字符串、宏和文件系统路径上使用的运算符。
Expressions can use operators that act on constant values, exit codes from commands, strings, macros, and file-system paths.
INSERT错误将控制转移到 SQLSTATE代码的退出处理程序。
The INSERT error transfers control to the exit handler for that SQLSTATE code.
db2vend(隔离的供应商进程):代表一个EDU执行供应商代码,使实例执行用户退出程序,以便进行日志归档(仅在UNIX上)。
Db2vend (fenced vendor process) : Executes vendor code on behalf of an EDU, for instance to execute the user-exit program for log archiving (UNIX-only).
我没有按通常作法将错误代码返回给父代应用程序,而是将错误打印到屏幕,然后退出程序。
Instead of gracefully returning an error code to the parent application, I print the error to the screen and bail out of the code.
因此代码将继续执行,就是说,将退出该方法而把控制返回给表单。
So the code will continue; in this case, that means that the method will exit and control will return to the form.
如果由于该函数中代码的错误,您期望退出时为真的条件并不为真,那么这些断言能够确保您知道这一点。
This ensures that you get to know if, due to a bug in the code in this function, the conditions that you expect to be true on exit, are not.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
这样可以使网络代码让一个缓存退出使用,尽管此时网络协议也许并不清楚谁正在使用这个缓存。
This enables network code to pull a buffer out of use even when the network protocol has no idea who is currently using it.
意外的代码路径:通过跟踪进入和退出点,可以看出程序是否采用了意外的代码路径。
Unexpected code paths: by following the entry and exit points, it is possible to see any unexpected code paths taken by the program.
该功能允许在调试器会话中改变源代码,这比退出应用程序、更改代码、重新编译、然后启动另一个调试会话更好。
It allows the changing of source code during a debugger session, which is better than exiting the application, changing the code, recompiling, then starting another debugging session.
gdb可以让您通过使用shell命令在不退出调试环境的情况下运行shell命令,调用形式是' shell [commandline] ',这有助于在调试时更改源代码。
Gdb allows you to run shell commands without exiting the debugging environment with the shell command, invoked as' shell [commandline] ', useful for making changes to source code whilst debugging.
gdb可以让您通过使用shell命令在不退出调试环境的情况下运行shell命令,调用形式是' shell [commandline] ',这有助于在调试时更改源代码。
Gdb allows you to run shell commands without exiting the debugging environment with the shell command, invoked as' shell [commandline] ', useful for making changes to source code whilst debugging.
应用推荐