8000 PyScripter freezes · Issue #1372 · pyscripter/pyscripter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PyScripter freezes #1372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Penelopen opened this issue Mar 6, 2025 · 6 comments
Closed

PyScripter freezes #1372

Penelopen opened this issue Mar 6, 2025 · 6 comments
Labels

Comments

@Penelopen
Copy link

If you try this code, the program is freezes.

while True:
    print('hello')

for example, pyCharm not freezes and have STOP button...

Please improve that))

@Penelopen
Copy link
Author

Sorry, how I can disable that line?

Image

@pyscripter
Copy link
Owner

Sorry, how I can disable that line?

Tools, Options, IDE Options, Editor, "Indentation Guidesl", "Highlight Structure"

image

I think is useful though, especially when you got long nested code.

@pyscripter
Copy link
Owner
pyscripter commented Mar 6, 2025

for example, pyCharm not freezes and have STOP button..

PyScripter also has one:

image

The red square button.

Using the remote engine run the following:

i = 0
while True:
    i += 1

You can then interrupt by pressing the Abort key.

or the following:

import time
while True:
    print('hello')
    time.sleep(0.1) # sleep for 0.1 seconds

You can also interrupt by pressing the Abort key.

The problem with

while True:
    print('hello')

is that PyScripter is too busy printing to handle the processing of the Abort key.

I know it is not perfect but this is a corner case. In most real-life scripts the Abort button is available.

@pyscripter
Copy link
Owner

I have provided it a fix. Now the Abort command works well in all cases.
The fix will be available with the next release.

@Penelopen
Copy link
Author

I have provided it a fix. Now the Abort command works well in all cases. The fix will be available with the next release.

Great! When is next release awaiting?))

@pyscripter
Copy link
Owner

Soon! But I could provide you with an updated PyScripter.exe so that you can try it immediately. However, I want do deal with #1369 first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0