LionHeart123 / pyscripter

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

Enhancement request #635

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The new "soft abort" Abort button behaviour 2.5.3.0 (send a keyboard interrupt 
to the remote engine, thus preserving its state for interactive continuation) 
is certainly useful in some situations.

But I would also like an easier GUI option of a "hard abort" - equivalent of 
Ctrl/F2 - to reinitialize the remote interpreter.  (For teaching I would like 
stopping the program to clean up open TkInter / turtle windows, etc.).

Would there be any support for providing a configurable IDE option that 
"stopping the program via the Abort button can either do the soft or the hard 
abort variants."

And perhaps the tooltip should not say "Abort Debugging" since it aborts 
execution even if one is not debugging.

thanks
peter

Original issue reported on code.google.com by cspwc...@gmail.com on 28 Mar 2012 at 8:37

GoogleCodeExporter commented 9 years ago
You can easily add a toolbar button with the command "Reinitialize Python 
engine"

a) Right-click on the toolbars and select the "Customize" command.
b) Show the "User" toolbar if it is not visible.
c) From the commands tab, find the "Reinitialize Python engine" command (Run 
category) and drag-drop it on the "User" toolbar.
d) Close the Customize dialog box.

The customized user toolbar is persisted across python sections.

Note: I would like avoiding the overloading of the existing Abort command.

Original comment by pyscripter on 28 Mar 2012 at 12:37

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 28 Mar 2012 at 12:37

GoogleCodeExporter commented 9 years ago
I forgot to mention that PyScripter reinitializes the remote python engine 
automatically before running a script.  So, I am not sure why one would need to 
use this command mannually.

Original comment by pyscripter on 28 Mar 2012 at 2:16