Hi,
I am using Visual studio 2005 and would like to set up a "Release with debug information" build configuration. I created a sample MFC solution and to it added:

=====

std::vector< std::wstring > textContainer;
textContainer.push_back( _T( "one" ) );

std::vector< int > intContainer;
intContainer.push_back( 15 );
intContainer.push_back( 64 );

int p=0;
p = 3;
p *=2;
p = 9;

=====

I modified the release build as per http://msdn.microsoft.com/en-us/libr...=vs.80%29.aspx to have:

Enable /Zi.
Select/INCREMENTAL:NO.
Select /DEBUG:Yes.
Select /OPT:REF.
Select /OPT:ICF.

After doing this and compiling the release build, I can see that a .pdb file is created. When running the software, I was still unable to debug through and view the values of any of the test code above. I'm missing something but I don't know what. Can anyone offer any suggestions please?
Thanks,
Patrick