SA-MP Forums Archive
Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? (/showthread.php?tid=436456)



Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - yxliang - 11.05.2013

Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option?


Re: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - Chenko - 11.05.2013

How many lines does your script have? If it's over 65 thousand then it won't show the lines the errors are at.


Re: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - yxliang - 13.05.2013

Quote:
Originally Posted by Chenko
Посмотреть сообщение
How many lines does your script have? If it's over 65 thousand then it won't show the lines the errors are at.
Why? My GM over 80 thousand lines.


Re: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - yxliang - 13.05.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Because "-d" is the "debug" option so you've removed all the useful information!
What is the best solution?


Re: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - HashFr - 13.05.2013

You shall use -d3 and if the error persists, try spreading your script in between two parts, to find the error, and keep on doing that until you reach the plugin/include/line.


Re: Why crashdetect can't detect problem line in GM when I compile it with the "-d2" option? - yxliang - 18.05.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Use -d3.
I used -d3 and also can't detect the problem line.