Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » debug help
debug help [message #469367] Sat, 16 June 2012 05:49 Go to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
my server crashed (my code prob)

but its in tt.dll

could someone from TT help me debug this


thnx in advance Smile


Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #469368 is a reply to message #469367] Sat, 16 June 2012 07:12 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
If you run Renegade in debug via Visual Studio you can walk back up the call stack into the last function called in scripts.dll to determine where in your code the problem lies, if that is indeed the problem.

http://steamsignature.com/card/1/76561197975867233.png
Re: debug help [message #469369 is a reply to message #469367] Sat, 16 June 2012 07:55 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
that i dont understand :s


all i get is tt.dll in call stack windows thing

but i know my plugin crashed but called one of TT's functions


Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #469370 is a reply to message #469367] Sat, 16 June 2012 07:57 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Did you compile in debug mode? Higher up the call stack should be something in your plugin so you can see what it did to cause the crash.

http://steamsignature.com/card/1/76561197975867233.png
Re: debug help [message #469378 is a reply to message #469367] Sat, 16 June 2012 11:56 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
no its in the release version

Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #469380 is a reply to message #469367] Sat, 16 June 2012 12:22 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Compile in debug and run it via Visual Studio to ensure you get all the debugging information you need to find the problem, it's probably going to be quicker than waiting for jonwil or stealtheye to find the time to look at that crashdump for you.

http://steamsignature.com/card/1/76561197975867233.png
Re: debug help [message #469389 is a reply to message #469367] Sat, 16 June 2012 19:31 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
thats true but i cant run a debug on the open server it might cause some unexpected resuslts


i guess ill just have to wait


Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #469391 is a reply to message #469389] Sat, 16 June 2012 20:13 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

robbyke wrote on Sat, 16 June 2012 21:31

thats true but i cant run a debug on the open server it might cause some unexpected resuslts


i guess ill just have to wait

What unexpected results are you referring to? The main thing debug mode is probably going to cause is a slight performance decrease due to extra overhead compared to the release build. Other than that, I dunno what you could be referring to...


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: debug help [message #469394 is a reply to message #469367] Sun, 17 June 2012 03:03 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
leftover breakpoints

ive had some in my debugging

and i know (or at least think that i know) that those breakpoints will trigger in a debug build


Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #469397 is a reply to message #469367] Sun, 17 June 2012 03:24 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Disable them then? Rocked Over

http://steamsignature.com/card/1/76561197975867233.png
Re: debug help [message #469398 is a reply to message #469367] Sun, 17 June 2012 04:54 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
ah i found it without help

just a few crashes thnx anyway


Owner of kambot TT server

kambot.freeforums.org
Re: debug help [message #470389 is a reply to message #469367] Sun, 01 July 2012 03:06 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Is this crash still an issue? Does it still need someone from TT to look at it?


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: debug help [message #470503 is a reply to message #469367] Mon, 02 July 2012 06:44 Go to previous message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
no i found it Smile thnx anyway

Owner of kambot TT server

kambot.freeforums.org
Previous Topic: Infantry Barracks WIP
Next Topic: Set_Face_Location() and bots
Goto Forum:
  


Current Time: Wed Dec 18 04:35:45 MST 2024

Total time taken to generate the page: 0.00878 seconds