   Stepping into "release" builds
  Hi.I've got the typical "my program works in debug but not release" problem. Usually I wouldn't post about this because I can fix it, but in this case I can't seem to step into some code.I'm using Visual Studio 2005 on XP.I have the tinyxml project built in release mode with these C++ command line options:Quote:/Od /D "TIXML_USE_TICPP" /D "UNICODE" /D "_UNICODE" /D "_CRT_SECURE_NO_DEPRECATE" /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /GF /FD /EHsc /MD /Gy /Fo"obj/Release\\" /Fd"obj/Release\vc80.pdb" /W4 /nologo /c /Wp64 /TP /errorReport:promptI have my game engine project built in release mode with these C++ command line options:Quote:/Od /GL /I "E:\Dev\SDL\include" /I "E:\Dev\tinyxml++" /I "E:\Dev\Boost_old" /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Yu"stdafx.h" /Fp"Release\SDL RPG Engine.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Zi /TP /errorReport:promptI have the game engine testing project built in release mode with these C++ command line options:Quote:/Od /GL /I "E:\Dev\SDL\include" /I "E:\Dev\tinyxml++" /I "C:\Documents and Settings\Bill\My Documents\Visual Studio 2005\Projects\SDL RPG Engine\SDL RPG Engine" /I "E:\Dev\Boost_old" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Zi /TP /errorReport:promptWhen I run the game engine testing project in debug mode, I can step into the tinyxml code (this is where the error is coming from), but when I run it in release, I can't. I've turned optimisation off for all of the release builds as you can see, but it doesn't seem to help.I tried making the release builds use the Multi-threaded debug DLL libraries (/MDd) and it works, but I'm thinking that they are not ideal for a release build?Anyone know what I'm doing wrong here?Cheers.[Edited by - Mybowlcut on January 24, 2009 4:12:05 AM]