Sets nonstop mode. If a terminal's already been set up, it's too late; the debugger remembers the setting in case you restart, though. (source)
[root@ ~]# PERLDB_OPTS="NONSTOP=1" perl -d -e 'print 1'
1
如果不停下来,还能调试么?
|
|
如果不停下来,还能调试么? |
||
|
|
|
|
另外,一个很常用的技巧是:
这样条件成立时便会停在下一行。
|
|||
|
|