VS2005 SP1 and Debugging Problems!?
-
Has anyone had problems stepping into MFC code while debugging? Since I updated VS2005 to SP1 I am unable to step into MFC code. Step into is behaving like step over. Any advice is appreciated. Many thanks for your time.
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain) -
Has anyone had problems stepping into MFC code while debugging? Since I updated VS2005 to SP1 I am unable to step into MFC code. Step into is behaving like step over. Any advice is appreciated. Many thanks for your time.
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)Is it happening with the MFC source or your source? What is the symbol load status?
-
Is it happening with the MFC source or your source? What is the symbol load status?
It is happening with the MFC source. It is as if the pdb files are not pointing to the correct location. If I break into the application and step through, my source is fine. It steps over when it comes to the MFC stuffs. On the same note if you break and then try to look at MFC code from somewhere in the stack trace you only get the assembler (I have told the compiler to show assembler when no source available). Please could you tell me how I can find the symbol load status? Many thanks for you time
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain) -
Is it happening with the MFC source or your source? What is the symbol load status?
For all that are interested I found the problem. Previously I have added the following environment variable so that I can get the online symbols from Microsoft _NT_SYMBOL_PATH=SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols/ I have removed this for the moment and debugging MFC is working again. :)
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain) -
For all that are interested I found the problem. Previously I have added the following environment variable so that I can get the online symbols from Microsoft _NT_SYMBOL_PATH=SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols/ I have removed this for the moment and debugging MFC is working again. :)
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)In VS2005 you can set an option to use symbol server. In Tools->Options under Debugging -> Symbols. That is a better way you can enable and disable it easily. The problem with the symbol server MFC symbols is that source information is stripped.
-
In VS2005 you can set an option to use symbol server. In Tools->Options under Debugging -> Symbols. That is a better way you can enable and disable it easily. The problem with the symbol server MFC symbols is that source information is stripped.
Thanks for this info. :) I must admit I did stumble across this while investigating the problem. I will bare this in mind for the future.
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)