1、install python debugger(pydb):sudo apt-get install pydb(debugger)
2、how to debug:
M-X pdb(replace a.out with the source code file name);
本文介绍如何使用sudo命令安装Python调试器pydb,并提供了一个简单的步骤来演示如何通过M-X pdb命令进行源代码级别的调试。这为Python开发者提供了一种有效的调试手段。
1、install python debugger(pydb):sudo apt-get install pydb(debugger)
2、how to debug:
M-X pdb(replace a.out with the source code file name);

被折叠的 条评论
为什么被折叠?