Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: How to turn off the disassemble functionality Pin
Richard MacCutchan19-Jul-11 6:15
mveRichard MacCutchan19-Jul-11 6:15 
AnswerRe: How to turn off the disassemble functionality Pin
Rajesh R Subramanian19-Jul-11 7:04
professionalRajesh R Subramanian19-Jul-11 7:04 
AnswerRe: How to turn off the disassemble functionality Pin
«_Superman_»19-Jul-11 8:40
professional«_Superman_»19-Jul-11 8:40 
GeneralRe: How to turn off the disassemble functionality Pin
Maximilien19-Jul-11 10:27
Maximilien19-Jul-11 10:27 
QuestionHow can I set the size of a popup CDialog? Pin
DanYELL19-Jul-11 5:20
DanYELL19-Jul-11 5:20 
AnswerRe: How can I set the size of a popup CDialog? Pin
Albert Holguin19-Jul-11 5:58
professionalAlbert Holguin19-Jul-11 5:58 
Questionright-click on windows taskbar Pin
kartikdasani19-Jul-11 2:18
kartikdasani19-Jul-11 2:18 
AnswerRe: right-click on windows taskbar Pin
«_Superman_»19-Jul-11 4:20
professional«_Superman_»19-Jul-11 4:20 
GeneralRe: right-click on windows taskbar Pin
kartikdasani20-Jul-11 3:27
kartikdasani20-Jul-11 3:27 
AnswerRe: right-click on windows taskbar Pin
Abhi Lahare20-Jul-11 11:33
Abhi Lahare20-Jul-11 11:33 
QuestionDialog box focus Pin
aangerma19-Jul-11 1:12
aangerma19-Jul-11 1:12 
AnswerRe: Dialog box focus Pin
User 742933819-Jul-11 1:35
professionalUser 742933819-Jul-11 1:35 
QuestionRe: Dialog box focus Pin
_AnsHUMAN_ 19-Jul-11 2:00
_AnsHUMAN_ 19-Jul-11 2:00 
AnswerRe: Dialog box focus Pin
aangerma19-Jul-11 2:41
aangerma19-Jul-11 2:41 

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.