码迷,mamicode.com
首页 > 编程语言 > 详细

debugging python with IDLE

时间:2014-06-29 22:47:26      阅读:356      评论:0      收藏:0      [点我收藏+]

标签:blog   http   2014   art   c   line   

1. start IDLE

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

bubuko.com,布布扣

2. open your source file window

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

bubuko.com,布布扣

3. show debug control

From python shell, select Debug->Debuger

4. start running

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

bubuko.com,布布扣


bubuko.com,布布扣

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

标签:blog   http   2014   art   c   line   

原文地址:http://blog.csdn.net/llrraa2010/article/details/35545425

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!