python 是咋debug的( 四 )

运行后
\u0026gt;\u0026gt;\u0026gt; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%******************************Hello******************************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\u0026gt; testtest.py(33)\u0026lt;module\u0026gt;()-\u0026gt; print(__name__)(Pdb) ?Documented commands (type help \u0026lt;topic\u0026gt;):========================================EOF c d h list q rv undisplaya cl debug help ll quit s unt alias clear disable ignore longlist r source until args commands display interact n restart step up b condition down j next return tbreak w break cont enable jump p retval u whatis bt continue exit l pp run unalias where Miscellaneous help topics:==========================exec pdb(Pdb) c__main__8.035045862197876\u0026gt;\u0026gt;\u0026gt; 如果嫌麻烦,还是首选IDE吧。


推荐阅读