Advertisement Jump to content
Sign in to follow this  
AndrewPL

Debug Vs Release

This topic is 4912 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! Wat's the diferrence betwen debug and release build in MS VisualStudio.Net C++ ? I've got Dirext3D application witch works after debug compilation but release compilation .exe file doesn't load some models. It may be that the textures are too large but why it runs after debug buid?? Shouldn't it be the same?? Thx for reading and help if any.

Share this post


Link to post
Share on other sites
Advertisement
There are quite a few differences between Debug and Release builds. The most important is in Release mode, unintialized variables are likely to result in bugs that don't get noticed in Debug mode. So you may want to check to make sure that all your variables are initialized before you use them.

Another hint to make your release and debug to match more closely involve compiling your application at /W4 and either fixing every warning or making darn sure that each warning is benign.

Share this post


Link to post
Share on other sites
Another difference is output size and speed. The size is greatly reduced because it doesn't contain debug runtime code and information.

ace

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!