Click here to Skip to main content
15,925,723 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionbackward debugging in Visual Studio?? Pin
George_George26-Sep-06 3:50
George_George26-Sep-06 3:50 
AnswerRe: backward debugging in Visual Studio?? Pin
Zac Howland26-Sep-06 4:08
Zac Howland26-Sep-06 4:08 
GeneralRe: backward debugging in Visual Studio?? Pin
George_George26-Sep-06 19:39
George_George26-Sep-06 19:39 
GeneralRe: backward debugging in Visual Studio?? Pin
Zac Howland27-Sep-06 3:53
Zac Howland27-Sep-06 3:53 
GeneralRe: backward debugging in Visual Studio?? Pin
George_George27-Sep-06 17:42
George_George27-Sep-06 17:42 
GeneralRe: backward debugging in Visual Studio?? Pin
Zac Howland28-Sep-06 3:32
Zac Howland28-Sep-06 3:32 
GeneralRe: backward debugging in Visual Studio?? Pin
George_George28-Sep-06 3:55
George_George28-Sep-06 3:55 
GeneralRe: backward debugging in Visual Studio?? Pin
Zac Howland28-Sep-06 4:39
Zac Howland28-Sep-06 4:39 
George_George wrote:
The idea of setting a conditional break point is not feasible for me, becasue the value of variable which will cause error is not predictable


But you do know the valid values for such a variable I take it?

George_George wrote:
So, I have to write some additional code to some place, a file or the console. But actually, I do not want to add them since I am debugging some race conditions in a multiple threaded application, and I concern that if I add some additional debug code, the race condition will not occur. And, I only release application without debug code ... I mean I want to test the application the same as the one I will release (without debug code).


You may not want to, but you may have to in order to find your bug. You can test your release builds all you want, but if you are not able to find the cause of your bug, you need to start gathering more information. If the race condition does not occur when you add output information, at least you would have tried -- and if it does still occur, you would have more information about where it might be. Debugging is largely trial and error.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: backward debugging in Visual Studio?? Pin
George_George28-Sep-06 22:03
George_George28-Sep-06 22:03 
GeneralRe: backward debugging in Visual Studio?? Pin
Zac Howland29-Sep-06 3:51
Zac Howland29-Sep-06 3:51 
GeneralRe: backward debugging in Visual Studio?? Pin
George_George29-Sep-06 18:59
George_George29-Sep-06 18:59 
QuestionAdRotator Pin
sandeep chowdary26-Sep-06 3:14
sandeep chowdary26-Sep-06 3:14 
QuestionBHO cpu usage is too high Pin
daheitou26-Sep-06 3:02
daheitou26-Sep-06 3:02 
Questiondiff between C++ and VC++ Pin
Krishnatv26-Sep-06 2:54
Krishnatv26-Sep-06 2:54 
AnswerRe: diff between C++ and VC++ Pin
David Crow26-Sep-06 2:56
David Crow26-Sep-06 2:56 
GeneralRe: diff between C++ and VC++ Pin
Krishnatv26-Sep-06 3:04
Krishnatv26-Sep-06 3:04 
GeneralRe: diff between C++ and VC++ Pin
David Crow26-Sep-06 3:13
David Crow26-Sep-06 3:13 
AnswerRe: diff between C++ and VC++ Pin
_AnsHUMAN_ 26-Sep-06 3:09
_AnsHUMAN_ 26-Sep-06 3:09 
GeneralRe: diff between C++ and VC++ Pin
Prakash Nadar26-Sep-06 3:56
Prakash Nadar26-Sep-06 3:56 
GeneralRe: diff between C++ and VC++ Pin
_AnsHUMAN_ 26-Sep-06 3:59
_AnsHUMAN_ 26-Sep-06 3:59 
GeneralRe: diff between C++ and VC++ Pin
Prakash Nadar26-Sep-06 4:05
Prakash Nadar26-Sep-06 4:05 
AnswerRe: diff between C++ and VC++ Pin
Hamid_RT26-Sep-06 3:18
Hamid_RT26-Sep-06 3:18 
AnswerRe: diff between C++ and VC++ Pin
Mr.Brainley26-Sep-06 3:20
Mr.Brainley26-Sep-06 3:20 
GeneralRe: diff between C++ and VC++ Pin
Zac Howland26-Sep-06 3:35
Zac Howland26-Sep-06 3:35 
QuestionBitmap showing problem Pin
helpcode26-Sep-06 2:39
helpcode26-Sep-06 2:39 

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.