Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use "UnitTest" to test C++ code Pin
Cold_Fearing_Bird21-Jul-11 4:45
Cold_Fearing_Bird21-Jul-11 4:45 
AnswerRe: How to use "UnitTest" to test C++ code Pin
Rolf Kristensen27-Jul-11 12:18
Rolf Kristensen27-Jul-11 12:18 
QuestionLong Strings in ComboBox not fully visible. Pin
Le@rner20-Jul-11 18:21
Le@rner20-Jul-11 18:21 
AnswerRe: Long Strings in ComboBox not fully visible. Pin
Chandrasekharan P20-Jul-11 18:55
Chandrasekharan P20-Jul-11 18:55 
GeneralRe: Long Strings in ComboBox not fully visible. Pin
Le@rner20-Jul-11 23:43
Le@rner20-Jul-11 23:43 
AnswerRe: Long Strings in ComboBox not fully visible. Pin
_Flaviu24-Jul-11 7:08
_Flaviu24-Jul-11 7:08 
QuestionPrint command to printer using PostMessage? Pin
AnayKulkarni20-Jul-11 2:29
AnayKulkarni20-Jul-11 2:29 
AnswerRe: Print command to printer using PostMessage? Pin
Richard MacCutchan20-Jul-11 2:33
mveRichard MacCutchan20-Jul-11 2:33 
QuestionCTabCtrl - retrieving tab's title text Pin
rp_suman20-Jul-11 1:11
rp_suman20-Jul-11 1:11 
AnswerRe: CTabCtrl - retrieving tab's title text Pin
Richard MacCutchan20-Jul-11 1:32
mveRichard MacCutchan20-Jul-11 1:32 
GeneralRe: CTabCtrl - retrieving tab's title text Pin
rp_suman20-Jul-11 2:23
rp_suman20-Jul-11 2:23 
QuestionVC6 to VC2008 migration Pin
_Flaviu19-Jul-11 19:34
_Flaviu19-Jul-11 19:34 
AnswerRe: VC6 to VC2008 migration Pin
Stefan_Lang19-Jul-11 22:04
Stefan_Lang19-Jul-11 22:04 
GeneralRe: VC6 to VC2008 migration Pin
_Flaviu20-Jul-11 4:05
_Flaviu20-Jul-11 4:05 
GeneralRe: VC6 to VC2008 migration Pin
_Flaviu20-Jul-11 19:51
_Flaviu20-Jul-11 19:51 
QuestionWhy debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Cold_Fearing_Bird19-Jul-11 19:01
Cold_Fearing_Bird19-Jul-11 19:01 
AnswerRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Richard MacCutchan19-Jul-11 21:44
mveRichard MacCutchan19-Jul-11 21:44 
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Cold_Fearing_Bird19-Jul-11 22:17
Cold_Fearing_Bird19-Jul-11 22:17 
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Stefan_Lang19-Jul-11 22:48
Stefan_Lang19-Jul-11 22:48 
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Cold_Fearing_Bird19-Jul-11 23:14
Cold_Fearing_Bird19-Jul-11 23:14 
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Richard MacCutchan19-Jul-11 23:52
mveRichard MacCutchan19-Jul-11 23:52 
AnswerRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Stefan_Lang19-Jul-11 22:11
Stefan_Lang19-Jul-11 22:11 
I doubt this is related to using PCH. More likely, the debugging information simply wasn't up to date. Changing the setting to use or not use a PCH will force a complete rebuild that of course created the neccessary information and that is why your problem was solved after changing that.

Unfortunately VS was never really good at keeping the debug information accurate. You sometmes do have to force a complete rebuild, either by doing a Clean first, or just by choosing Rebuild All.

P.S.: one of the possible reasons for your debug information to mess up is when files change that are not actually part of your solution, e. g. header files from third party libraries. VS obviously does not check these files, and I never managed to find a setting to fix that. Back in the time when we were still using makefiles I'd simply add a dependency, but I have no idea what to do nowadays...
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Cold_Fearing_Bird19-Jul-11 22:22
Cold_Fearing_Bird19-Jul-11 22:22 
GeneralRe: Why debugging doesn't work properly when I choose "USE PRECOMPILED HEADER"? Pin
Stefan_Lang19-Jul-11 22:26
Stefan_Lang19-Jul-11 22:26 
QuestionHow to turn off the disassemble functionality Pin
Cold_Fearing_Bird19-Jul-11 5:48
Cold_Fearing_Bird19-Jul-11 5:48 

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.