Skip to content
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

Crash on large file editing #27

Closed
darderik opened this issue Aug 22, 2016 · 3 comments
Closed

Crash on large file editing #27

darderik opened this issue Aug 22, 2016 · 3 comments

Comments

@darderik
Copy link

darderik commented Aug 22, 2016

Plugin Version

1.0.5_2

Summary

Crash on file editing

Detail

This file ,when edited,causes a freeze of the IDE. Big files will also cause this.

@darderik darderik changed the title Crash on specific file editing Crash on large file editing Sep 2, 2016
@BangL
Copy link

BangL commented Sep 17, 2016

i managed to get those freezes in a small file, this finally shows what the actual problem is.
i can tell pretty sure its somehow related to for-loops now.

pasting the following code snippet freezes my IDE 50% of the times... if thats not enough, just try to add a few more lines of code and your IDE will freeze.

for "_i" from 0 to PMC_itemCtrlCount - 1 do { private _ctrl = (_display displayCtrl (40000 + _i)); if (!isNull _ctrl) then {ctrlDelete _ctrl;}; };

@kayler-renslow
Copy link
Owner

Well I found the problem. It's an infinite loop. This shouldn't take long to fix now.

@kayler-renslow
Copy link
Owner

kayler-renslow commented Oct 26, 2016

And it's fixed for 1.0.6

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

No branches or pull requests

3 participants