View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Wed Sep 18, 2013 8:55 pm Post subject: Source of CWP crashes ? |
|
|
I have one large CWP window called Settings with many tabs in its %ps which contains references and controls all variables and features of the code.
That window when i close it or just escape from it by %ac[esc] (even by opening it and not doing anything immediately close it) almost always crashes the whole code. Other smaller windows containing %ps never crash. The code also never crash if i open it in debugger so debugger keeps mum about source of the problem while the bug was not possible to find for years.
I use SAVE statement as Paul suggested few years back which at some point helped against the crashes but alas, not anymore. I checked all undefined variables - everything is clean. If i make the code compatible with XP serv.pack3 as Paul also suggested, then i get approximately 3-4 times opening/closing OK and then again with 100% probability the code crashes. Any new suggestions how to catch the super roach ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu Sep 19, 2013 7:40 am Post subject: |
|
|
If you have enough memory, try putting /SAVE on the FTN95 command line to see if this "fixes" the problem. This is not a real fix but it will tell you if you have missed some unSAVEd variables somewhere in your code. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Thu Sep 19, 2013 12:22 pm Post subject: |
|
|
Paul, that compilation switch is already there as you most probably also suggested that before. To make the experiment pure and clean I inserted /save for all other files but, alas, damn roach survived pesticiding. |
|
Back to top |
|
|
|