6

Running Python 3.3 on Win64, I found out how to add breakpoints in IDLE 3.3 here, but when I run my module via Run > Run Module (F5), it blows right through my breakpoints. What am I missing?

Community
  • 1
  • 1
buttonsrtoys
  • 2,359
  • 3
  • 32
  • 52
  • I got used to it and now I think these are for you, so that you can remember the line after you took a break. – User Sep 10 '13 at 11:59

1 Answers1

5

The debugger checkbox

You need to enable Debugging (check the Debug→Debugging checkbox from the Shell window). When you run the program, a dialog will show allowing you to control the execution code. If you select Go, it will keep running your program until a breakpoint is reached.

Ramchandra Apte
  • 4,033
  • 2
  • 24
  • 44
  • 3
    Just to clarify this answer... I noticed that if you set a break point on an empty line, it will blow right through it. You have to set it on the first actual line of code that you don't want to run. – Kristen G. Mar 31 '15 at 15:14