Closed GoogleCodeExporter closed 9 years ago
I suppose you want to check variable values during or after execution not
before. The engine is reinitialized before you run your PyGame script. After
your script completes you can view values using the Variable Window or the
Interpreter.
Or else use the debugger with breakpoints to see variable values during
execution.
Original comment by pyscripter
on 16 Nov 2010 at 5:21
To close the PyGame window I have to reinitialize Python, so it reinitializes
twice I guess. When I do that, I can't check the variables.
Original comment by ast13...@gmail.com
on 16 Nov 2010 at 5:49
What prevents you from checking the values before you close it?
Original comment by pyscripter
on 16 Nov 2010 at 6:10
If you mean what happens when I have it up and try to check a variable, then
nothing. I can't even do a simple 1+1, nothing shows up (and Windows 7 plays a
sound). If I try to close the game window it starts to lag and eventually
PyScripter is not responding unless I don't reinitialize.
Original comment by ast13...@gmail.com
on 16 Nov 2010 at 7:09
Can you post here a sample script so that I can have a look?
Original comment by pyscripter
on 16 Nov 2010 at 8:10
I tested it out with a very simple PyGame script (import pygame
hello = "hi"
pygame.init()
screen = pygame.display.set_mode((468, 60)) ) and then I can see what hello is.
It prints it successfully. So it seems that it's not something wrong with
PyScripter itself I assume.
http://www.megaupload.com/?d=FFAXS5R6 there is my files atm, just run main.py.
Original comment by ast13...@gmail.com
on 16 Nov 2010 at 8:33
Any idea (sorry if I'm pushy)?
Original comment by ast13...@gmail.com
on 20 Nov 2010 at 6:05
I fixed it now, there was something with my code (when you quit it didn't not
quit well enough) that messed it up. So there's nothing wrong with PyScripter.
You may close this.
Original comment by ast13...@gmail.com
on 21 Nov 2010 at 2:05
Original comment by pyscripter
on 22 Nov 2010 at 8:15
Original issue reported on code.google.com by
ast13...@gmail.com
on 16 Nov 2010 at 5:15