Author Topic: Debugging methodology  (Read 1430 times)

0 Members and 1 Guest are viewing this topic.

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Debugging methodology
My method is this:
1. Get the most recent _d build (obviously :P)
2. See if there are no error messages till the pilot screen
3. Go through all the custom ships in the F3 window, fixing errors one by one
4. Quit, go back to 2 again to see if I forgot something. If everything is okay...
5. ...sigh of relief

How are ya guys doin' it?
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Debugging methodology
Load the missions tooo

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Debugging methodology
If you have done changes to tables, you might need to resave every mission in FRED (renamed subsystems for example).
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Debugging methodology
Loading up missions in debug fred2_open is usually best method to catch problems in development phase. It loads up so much more data than simply getting to pilot screen and going through ships one-by-one in the lab.

Once you're past development and into final testing prior to release, finishing each mission in debug build would be smart move. Bugs in complex sexps or scripts may not be caught until they're actually ran in-game. Other bugs that might only get caught while playing include bugs in models, such as buggered up collision detection.

  

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Debugging methodology
For quick model testing, I have a mission with all the models in it. That will catch all model-related issues.

As for other bugs, since I build all my builds myself, I can launch straight into Visual Studio when an Error comes up that I can't decipher using the log alone.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns