Cannot input values when debugging

I have no idea where to input my inputs with in my code. For example, my input statement that needs a string input is the only thing that is executed. The reason is that I don't know where to input my value and therefore, cannot continue debugging. Can anyone tell me where I can input my values? Thanks! (by the way, the Python Console is NOT where I input values)

4 comments
Comment actions Permalink
Official comment

Hi, are you using Python's input() function? If so, you should see the input prompt in the Run console of the IDE:

Let me know if your issue is different.

Comment actions Permalink

Hi Andrew,

I am indeed using python's input() function. However, whenever I try to put something in the run console. It says that it is "This view is read-only." Another important fact that I forgot to mention is that I'm running my program in debug mode.

0
Comment actions Permalink

In Debug mode you need to switch to Debug tab. Also make sure to enable "Show debug window on breakpoint" and focus console on breakpoint:

2
Comment actions Permalink

Oh, it works! Now I can get on with writing my program with debug mode. Thank you so much!

0

Please sign in to leave a comment.