ouilles / pyscripter

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

How to crash PyScripter #634

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run a small turtle program using debugging and a breakpoint.
2. Close the turtle window when the breakpoint is hit.
3. PyScripter crashes. 

What is the expected output? What do you see instead?

I would like PyScripter to stay alive.

What version of the product are you using? On what operating system?

PyScripter 2.5.3.0, (and 2.4.3.0)   Windows 7, Python 3.2.2

Please provide any additional information below.

Sample code:  Attached file shows what happens...

"""
How to kill PyScripter 2.5.3.0, (and 2.4.3.0) Windows 7, Python 3.2.2
  Set a breakpoint after the turtle window has opened, and run with debugging.
  When the breakpoint is hit, close the external turtle window. (Windows will say
   "The program has stopped responding, etc."  End the program.)

   rpyc gets "an existing connection was forcibly closed by the remote host"
   and then
     PyScripter also dies, complaining that "During handling of the above exception, another exception occurred:"
"""

import turtle

wn = turtle.Screen()
tess = turtle.Turtle()

for i in range(360):
    tess.forward(1)
    tess.left(1)

wn.mainloop()

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

Attachments: