Pawn compiler keeps crashing -
FunnyBear - 03.03.2015
Hi,
I have been having troubles compiling my script lately, I don't know what the problem is, and I haven't added anything since I last turned my server on. I have used the Missing Bracket checker and there is nothing missing. There is around 9,000 lines of script, so it would be a nightmare to go through each one. I don't know what to do.
The error is, "Pawn Compiler Library has stopped working"
Re : Pawn compiler keeps crashing -
Golimad - 03.03.2015
Did you have any backups to compare the update with ?
The reason this happens ( happened to me before ) is because of brackets. Issue could happen from an include as well. Hopefully if you keep backups, it shouldn't be a big deal doing a fast update.
Re: Pawn compiler keeps crashing -
maramizo - 03.03.2015
It always happens to me due to brackets.
Anyway, what I do is I place half of the code between "/* */" annotations, and then half of that, etc. until I find the portion of the code which causes the crash.
Re: Pawn compiler keeps crashing -
ReshiramZekrom - 03.03.2015
Sometimes it happens to me also when i put a big array..
Re: Pawn compiler keeps crashing -
ATGOggy - 04.03.2015
1) Make a backup.
2) Delete callbacks and compile one by one.
3) If you found the callback causing the crash, delete each loop inside the callback and find where the problem is.
Re: Pawn compiler keeps crashing -
CalvinC - 04.03.2015
There can be several reasons for this, spelling mistakes in your code that confuses the compiler, or a too long line will also crash the compiler.
Re: Pawn compiler keeps crashing -
AroseKhanNiazi - 04.03.2015
it happened to me many times, it was once bracket problem once it was that i wrote some main function wrong and once it was that i wrote "public" as "ublic". The only way you can figure it out is /*half code*/ and see if it crashes or not then do it with other half as you have founded out the bugged half then repeat this process in /* */ comment half from the bugged half till you fount it out.