You are here: PSPad forum > English discussion forum > PSPad 5.0.0 hangs when editing heavy perl scripts

PSPad 5.0.0 hangs when editing heavy perl scripts

#1 PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: frameworks | Date: 07/25/2018 15:44 | IP: IP Logged

Hello,

I am a happy PsPad user for years now. I'm super happy with the app, however after switching to 5.0.0 I see two issues that are pretty bad for me.
I use PsPad to edit some heavy (?) perl scripts (40-100kB).
#1 It happens often that PsPad will just hang with CPU taking up to 30% and no other way to recover from this than killing the editor and loosing changes.
#2 Not sure if that's result of crash but often after opening a file [after PsPad hanged on it] I find strange patterns of strings usually in places where brackets were before.

One particular example when this happens is an array with a list of commented out itmes, something like:


my @array = (
# "value1",
# "value2",
# "value3",
"value4"
);

I usully go and want to comment out value4 and add say another value, as soon as I put comma or quote it hangs on me.

Thanks,
J.

Edited 1 time(s). Last edit at 07/25/2018 15:48 by frameworks.

Options: Reply | Quote | Up ^


#2 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: pspad | Date: 07/25/2018 17:53 | IP: IP Logged

Hello
Is Code explorer active when you editing your code? Is possible to send me some code sample? I need it for testing only. You can delete random functions, I don't need functional code, only kepp correct bracket count winking smiley

Options: Reply | Quote | Up ^


#3 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: frameworks | Date: 07/27/2018 06:20 | IP: IP Logged

I took the script and strip it of all sensitive code but in such state I can't reproduce the problem.
If I find a way to reproduce it on non sensitive code, will gladly send you sample.

Perhaps PsPad produces any logs/dumps or can be run in some debug mode to see what's going on?

Thank you,
J.

Options: Reply | Quote | Up ^


#4 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: pspad | Date: 07/27/2018 06:55 | IP: IP Logged

I am not a Perl programmer, I will use your code for testing only and after it will be deleted. I don't need it for nothing.

When program hangs, it isn't able to produce any log.

Options: Reply | Quote | Up ^


#5 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: frameworks | Date: 07/30/2018 07:32 | IP: IP Logged

Is there any chance to get PsPad with debug info ? I could attach VS debugger and see where it hangs.

Thanks,
J.

Options: Reply | Quote | Up ^


#6 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: pspad | Date: 07/30/2018 07:45 | IP: IP Logged

PSPad contains debug information as part of exe. I can provide you external file with debug information, but you need to cvonvert it for VS

Options: Reply | Quote | Up ^


#7 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: frameworks | Date: 07/30/2018 07:58 | IP: IP Logged

Right, if there is debug info in the exe, VS does not see it (I already tried it). Please send an external file if possible (I assume that's Borland's one).
Will try to figure out how to use it.

Thanks,
J.

Edited 1 time(s). Last edit at 07/30/2018 08:00 by frameworks.

Options: Reply | Quote | Up ^


#8 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: pspad | Date: 07/30/2018 08:14 | IP: IP Logged

I will do it when I will compile next build. I don't have external file from old builds

Options: Reply | Quote | Up ^


#9 Re: PSPad 5.0.0 hangs when editing heavy perl scripts

Posted by: pspad | Date: 08/03/2018 11:11 | IP: IP Logged

frameworks:
Right, if there is debug info in the exe, VS does not see it (I already tried it). Please send an external file if possible (I assume that's Borland's one).
Will try to figure out how to use it.

Thanks,
J.

Hello

New build include debug file is available:
forum.pspad.com

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR