Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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 …
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

722 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