LionHeart123 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

There should be a way to stop execution in the interpreter window #570

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example by pressing CTRL+C.

Original issue reported on code.google.com by patric...@gmx.de on 8 Oct 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Use the remote interpreter (Run, Python Engine, Remote) and press the 
reinitialize command (Run, Python Engine, Reinitialize) to interrupt the 
interpreter.

Original comment by pyscripter on 8 Oct 2011 at 10:00

GoogleCodeExporter commented 9 years ago
The reinitialize command not only stops execution but resets the interpreter 
entirely. That means it forgets everything including the current directory, 
code loaded, variable asignments and so on.

For testing purposes it is usefull to build up an environment in the 
interpreter and test individual functions. If for some reason the 
interpreter hangs (gets in an infinite loop, test data is too big to process 
and one gets bored waiting...) it is a nuisance to lose context when 
resetting the interpreter.

Original comment by patric...@gmx.de on 10 Oct 2011 at 3:53