Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Spoon on January 29, 2016, 10:05:47 am

Title: Fast debug
Post by: Spoon on January 29, 2016, 10:05:47 am
A while ago, I received a fast debug WoD build from the mighty and swift Swifty, this build has debug mode that runs at a butter smooth 60fps.
So I was kind of suprised to see that with the latest nightly, the debug is still choppy slow and crashy.
Why/how has this amazing advancement not found its way into recent builds yet?
Title: Re: Fast debug
Post by: AdmiralRalwood on January 29, 2016, 06:34:54 pm
A while ago, I received a fast debug WoD build from the mighty and swift Swifty, this build has debug mode that runs at a butter smooth 60fps.
So I was kind of suprised to see that with the latest nightly, the debug is still choppy slow and crashy.
Why/how has this amazing advancement not found its way into recent builds yet?
Because the way it gets that speed is by enabling compiler optimizations, and there are plenty of reasons to not want optimization in debug builds (particularly related to trying to track down certain bugs). However, there are also plenty of reasons to want an optimized build with debug code enabled, so it's likely that you may see "fast debug" introduced as a third category of build at some point.

In the meantime, if you want a fast debug build of some specific branch/revision, it's not actually that hard to just swap the _DEBUG and NDEBUG preprocessor definitions in the Release configuration; you can either compile it yourself, or just ask somebody to do it for you.
Title: Re: Fast debug
Post by: Spoon on January 29, 2016, 06:43:26 pm
I have been enlightend on the subject,
Thanks!
Title: Re: Fast debug
Post by: mjn.mixael on February 03, 2016, 11:04:52 am
 :eek:

Fast Debug? Yes Please. Do Want. The More You Know.