Jump to content
  • Advertisement
Sign in to follow this  
Xeogen

Debug and Release

This topic is 2546 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

I have recently finished a program and am now trying to build a release version of the program

Unfortunately my release version doesnt want to work...

I am now questing for more information on this subject, does anyone know any tutorials or books on this subject?

Edit: I am using Visual Studio 2010

Share this post


Link to post
Share on other sites
Advertisement
Hi. What problems do you have exactly ? Usually, most release problems are caused by uninitialized variables and such.

Share this post


Link to post
Share on other sites

I have recently finished a program and am now trying to build a release version of the program

Unfortunately my release version doesnt want to work...

I am now questing for more information on this subject, does anyone know any tutorials or books on this subject?

Edit: I am using Visual Studio 2010


If you paste the build log here, we'll be able to tell you exactly what the problem is.

- Kevin.

Share this post


Link to post
Share on other sites
You should probably use something like log4net to do your logging and then examine the logs when you try to run it in Release mode. In Program.cs wrap the entire content of your stat void Main method in a try catch that catches on Exception and output your exception info to a log and see what that says.

Share this post


Link to post
Share on other sites

You should probably use something like log4net to do your logging and then examine the logs when you try to run it in Release mode. In Program.cs wrap the entire content of your stat void Main method in a try catch that catches on Exception and output your exception info to a log and see what that says.


Assuming the OP is using c#.....

Share this post


Link to post
Share on other sites

Usually, most release problems are caused by uninitialized variables and such.


my money is on this one... if we are talking about C++ of course.

Share this post


Link to post
Share on other sites

[quote name='freddyscoming4you' timestamp='1311687934' post='4840520']
You should probably use something like log4net to do your logging and then examine the logs when you try to run it in Release mode. In Program.cs wrap the entire content of your stat void Main method in a try catch that catches on Exception and output your exception info to a log and see what that says.


Assuming the OP is using c#.....
[/quote]
Indeed. Chances are close to 50/50 he is. :)

Share this post


Link to post
Share on other sites
Sorry I always seem to forget some things

I am using C++ and OpenGL, The program itself compiles but the .exe in the release folder doesnt seem to work

Could this be caused by uninitialised variables?

I have checked the build log and Ive only got some warnings for conversions (loss of data)

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!