debugging python with IDLE

1. start IDLE

“Python 2.5”→“IDLE(Python GUI)”

debugging python with IDLE

2. open your source file window

From python shell, select file->open...

debugging python with IDLE

3. show debug control

From python shell, select Debug->Debuger

4. start running

From the source file window, select Run->Run Module

debugging python with IDLE


debugging python with IDLE

5. debugging with Debug Control

Step: step into

Over: step over

Out: step out

Go: run...

breakpoint: set and clear breakpoint in the source file window with right click menu at the line you want

debugging python with IDLE,布布扣,bubuko.com

debugging python with IDLE

上一篇:Java数据结构 遍历 排序 查找 算法实现


下一篇:Python基础之一:文件类型及运算符