Debug VS Release

Posted on 1999-07-13
Medium Priority
Last Modified: 2013-11-20
I have a strange problem. I wrote a mathematical software and it can be compiled successfully. But strange enough, when I execute the Debug version and the Release version of the executable file, the answers are different. Any idea what is going on?
Question by:tszwang

Expert Comment

ID: 1309786
a)There might be some pointer problem. In release mode fo build there is a possibility that some stray pointer has a greater chance of pointing to uninitialized memory instead of pointing to debug information. Please check that all the pointers are assigned correctly and deleted correctly.
b)There might be a problem when the build was optimized. Try and build in release mode with optimizations and try the same with optimizations. You may find the difference


Accepted Solution

Shay050799 earned 400 total points
ID: 1309787
LVL 86

Expert Comment

ID: 1309788
VC5? If so, these errors are produced by the optimizer...

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question