Click here to Skip to main content
15,914,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: About Runtime class Pin
Laxman Auti20-May-06 2:11
Laxman Auti20-May-06 2:11 
GeneralRe: About Runtime class Pin
Ramu.e21-May-06 22:59
Ramu.e21-May-06 22:59 
GeneralRe: About Runtime class Pin
Laxman Auti21-May-06 23:34
Laxman Auti21-May-06 23:34 
QuestionAlphaBlend Method Pin
_raghu20-May-06 1:17
_raghu20-May-06 1:17 
AnswerRe: AlphaBlend Method Pin
Monty220-May-06 1:33
Monty220-May-06 1:33 
GeneralRe: AlphaBlend Method Pin
_raghu20-May-06 1:45
_raghu20-May-06 1:45 
GeneralRe: AlphaBlend Method Pin
Monty220-May-06 1:53
Monty220-May-06 1:53 
AnswerRe: AlphaBlend Method Pin
Hamid_RT20-May-06 1:54
Hamid_RT20-May-06 1:54 
QuestionMoving Linee on a image [modifed] Pin
anjita20-May-06 0:12
anjita20-May-06 0:12 
AnswerRe: Moving Linee on a image Pin
_AnsHUMAN_ 20-May-06 0:20
_AnsHUMAN_ 20-May-06 0:20 
QuestionProperty Sheets and Pages Pin
si_6919-May-06 23:53
si_6919-May-06 23:53 
AnswerRe: Property Sheets and Pages Pin
Kiran Kumar Singani20-May-06 2:03
Kiran Kumar Singani20-May-06 2:03 
GeneralRe: Property Sheets and Pages Pin
si_6920-May-06 6:42
si_6920-May-06 6:42 
AnswerRe: Property Sheets and Pages Pin
Michael Dunn20-May-06 13:05
sitebuilderMichael Dunn20-May-06 13:05 
GeneralRe: Property Sheets and Pages Pin
si_6920-May-06 13:09
si_6920-May-06 13:09 
GeneralRe: Property Sheets and Pages Pin
Michael Dunn20-May-06 14:16
sitebuilderMichael Dunn20-May-06 14:16 
QuestionColor Scheme Pin
RockyJames19-May-06 21:15
RockyJames19-May-06 21:15 
AnswerRe: Color Scheme Pin
Nibu babu thomas19-May-06 21:37
Nibu babu thomas19-May-06 21:37 
AnswerRe: Color Scheme Pin
Laxman Auti19-May-06 23:09
Laxman Auti19-May-06 23:09 
GeneralRe: Color Scheme Pin
RockyJames20-May-06 0:14
RockyJames20-May-06 0:14 
QuestionRelease Code Optimization Problems.. Pin
rbid19-May-06 20:45
rbid19-May-06 20:45 
AnswerRe: Release Code Optimization Problems.. Pin
Laxman Auti19-May-06 20:59
Laxman Auti19-May-06 20:59 
GeneralRe: Release Code Optimization Problems.. Pin
rbid19-May-06 21:14
rbid19-May-06 21:14 
AnswerRe: Release Code Optimization Problems.. Pin
Saurabh.Garg19-May-06 22:32
Saurabh.Garg19-May-06 22:32 
GeneralRe: Release Code Optimization Problems.. Pin
rbid20-May-06 4:56
rbid20-May-06 4:56 
Saurabh.Garg wrote:
ForumVisual C++ / MFC
Subject:Re: Release Code Optimization Problems..
Sender:Saurabh.Garg
Date:4:32 20 May '06

If a code runs in debug mode and not in release mode then most probably there is a bug in the code, which is exposed in release mode due to optimizations.

If you are using VS 2005 (this might work with VS 2003 also but I am not sure since I never used it) then its simple, just put break point in the code and let then program run under debugger. When program crashes visual studio will give you an option of breaking into the code. This way you will know where exactly is the problem.

Hope this helps.

-Saurabh


You are right, but the code does not crash, just gives a different result that is not acceptable. Puting a breakpoint or dumping via TRACE or printf is like searching for needle in a montain of hay (or how you say it).. I'm running VS 2003.

A great article about Surviving the Release version[^] can be found in this site as well..

I'm also thinking about what is mentioned here[^].

Have a nice day.


-- Ricky Marek (AKA: rbid)
-- "Things are only impossible until they are not" --- Jean-Luc Picard

My articles

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.