SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 19/06/2011, 07:25 PM   #21
0x5A656578
Guest
 
Posts: n/a
Default Re: crashdetect plugin

Quote:
Originally Posted by Unknown123 View Post
yes what is that?

i get: [crashdetect]: gamemodes\GM.amx does not contain debug information
It's OK, just means that the script was compiled without debug info, you can ignore this
  Reply With Quote
Old 19/06/2011, 07:30 PM   #22
Unknown123
Guest
 
Posts: n/a
Default Re: crashdetect plugin

Quote:
Originally Posted by 0x5A656578 View Post
It's OK, just means that the script was compiled without debug info, you can ignore this
k thx
  Reply With Quote
Old 19/06/2011, 09:20 PM   #23
Cody09
Little Clucker
 
Join Date: Jul 2010
Posts: 37
Reputation: 0
Default AW: crashdetect plugin

I dont really know what the error code in your example says about your script
__________________
Sorry for my bad english, speak german^^
Cody09 is offline   Reply With Quote
Old 19/06/2011, 09:32 PM   #24
Gamer_Z
Banned
 
Join Date: Jun 2009
Posts: 1,858
Reputation: 1370
Default Re: crashdetect plugin

nice work Zeex!
It will help me out debugging some REALLY OLD scripts for sa-mp!
Also, does this plugin save it to the crashinfo file or the sa-mp server log?
Gamer_Z is offline   Reply With Quote
Old 19/06/2011, 10:55 PM   #25
nemesis-
Huge Clucker
 
Join Date: Sep 2009
Location: USA
Posts: 236
Reputation: 65
Default Re: crashdetect plugin

Very impressive. Surprising that it took this long for something like this to come out. I figured one of our codergods (Y_Less, Incognito, StrickenKid) would have come up with this.
nemesis- is offline   Reply With Quote
Old 20/06/2011, 05:26 AM   #26
leong124
High-roller
 
leong124's Avatar
 
Join Date: Jun 2008
Location: Hong Kong, China
Posts: 1,547
Reputation: 134
Default Re: crashdetect plugin

I have a problem.
Besides from the longer time to compile the script with debug information, the compiler shows an information that there would have stack overflow due to recursion, which doesn't appears without the -d3 flag(means that no problem without the flag).
Otherwise, it would be great for debugging random crashes in large scripts.

EDIT:

The stack overflow problem is fixed by commenting the scripts and find the source of it, but it's still weird that no stack overflow message are given without the debug information.

Anyway, thanks for releasing this great plugin and I'm using it

EDIT2:
Code:
[crashdetect]: Cannot identify file name
occurs when it loads the gamemode.
__________________
[KDT_MS]hk_shade

Sorry for my bad English and my weakness in expressing myself.

Last edited by leong124; 20/06/2011 at 06:23 AM.
leong124 is offline   Reply With Quote
Old 20/06/2011, 09:04 AM   #27
0x5A656578
Guest
 
Posts: n/a
Default Re: crashdetect plugin

In which folder is your gamemode located? is it in "gamemodes"?
  Reply With Quote
Old 20/06/2011, 09:17 AM   #28
Wesley221
High-roller
 
Wesley221's Avatar
 
Join Date: Apr 2011
Posts: 2,729
Reputation: 714
Default Re: crashdetect plugin

Code:
[crashdetect]:Cannot identify file name
What does this mean?

Edit:
All my GM's are in GM folder, FS's are in the FS folder
Also, all my FS/GM's are compiled, and none non-existing FS's in my server.cfg
__________________
yes
Wesley221 is offline   Reply With Quote
Old 20/06/2011, 09:19 AM   #29
0x5A656578
Guest
 
Posts: n/a
Default Re: crashdetect plugin

EDIT:
This is strange, I'll take a look into it

Last edited by 0x5A656578; 20/06/2011 at 09:50 AM.
  Reply With Quote
Old 20/06/2011, 09:20 AM   #30
Wesley221
High-roller
 
Wesley221's Avatar
 
Join Date: Apr 2011
Posts: 2,729
Reputation: 714
Default Re: crashdetect plugin

Still get the same error
__________________
yes
Wesley221 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] CrashDetect iHarzard Português/Portuguese 1 02/03/2014 07:33 PM
CrashDetect SPA Scripting Help 3 23/02/2014 10:17 AM
CrashDetect SPA Scripting Help 9 19/02/2014 08:17 PM
CrashDetect.so Mahde Scripting Help 2 09/02/2014 11:45 AM
Crashdetect Blackazur Server Support 1 30/11/2012 09:27 AM


All times are GMT. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.