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

x
?
Solved

Debug VS Release

Posted on 1999-07-13
3
Medium Priority
?
162 Views
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?
0
Comment
Question by:tszwang
[X]
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
3 Comments
 
LVL 3

Expert Comment

by:VCGuru
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



0
 
LVL 3

Accepted Solution

by:
Shay050799 earned 400 total points
ID: 1309787
0
 
LVL 86

Expert Comment

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

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