Console IO in debug mode

I have just downloaded the edu edition for my students to use in class.  When trying to test some simple code

strIn=input("name please: ")
print(strIn)

it will run as expected when I simply click 'run' but when I try to debug to step through the code it displays the prompt "name please" in the debug console window but then does not allow any input, so the program simply hangs, waiting for input that is impossible to enter.

I would be very grateful if anyone could tell me what I am doing wrong.

PS this works fine in the community edition!!
1 comment
Comment actions Permalink
OK so to answer my own question (though not really satisfactory!)... I run debug, and when it hangs I click the stop button in the debug toolbar.  When I then select run, resume program the debug system works and allows me to access the console for IO.  Very odd work around so if anyone has a better idea please let me know.
0

Please sign in to leave a comment.