[PD] VST~ update - another fix

Richard Dobson RWD at cableinet.co.uk
Fri Apr 26 22:27:01 CEST 2002

In Debug mode, variables and array allocations, etc are initialized with
special (non-zero) values, to support tracking of various bugs. If you
are a bit lazy about initializing data, this can catch you out as the
code runs in debug mode but not in release, e.g. code that says
"if(var==0) dothis();". For example, don't rely on the compiler to zero
arrays, variables, etc before use. Always clear them explicitly. This
helps to document the code as well.

Note that it is possible to debug a release build; you can compile with
browse information, etc, and single step a release build. Code is
compiled as for a Release build (NDEBUG defined) but you can still debug

It is always necessary to test Release builds, even while developing;
Microsoft say this explicitly in the documentation, though after all
this time I forget where.

VC++ V5 had some bad optimiser bugs that were only fixed with Service
Pack 3. So some programs would crash in the Release build unless you
turned down, or off, the optimization. If you are using v5.0, you do
need that Service pack. I have had no such problems with V6.0 (SP4).

Richard Dobson

mark wrote:
> Ok,
> There is (yet) another release available - this one
> should be more tolerant of opening non-existent
> dll's - however there are still stability issues.
> The problem is that they do not exist in the debug version
> so I have no way of knowing where they are occuring in the
> release version. I will have another look soon but I've
> got other stuff to do today.

Test your DAW with my Soundcard Attrition Page!
http://www.bath.ac.uk/~masrwd (LU: 18th July 2001)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 1st August 2001)

More information about the Pd-list mailing list