1 Mainly Settings
Solution Explorer
Select project,then click right button and select properties:
Configuration Properties
--->C++
------>General
--------->Debug Information Format->Program DataBase for Eidt & Continue(/ZI)
Configuration Properties
--->C++
------>Optimization
--------->Optimization--->Disable(/Od)
--------->Whole Program Optimization--->No
Configuration Properties
--->Linker
------>Debugging
--------->Generate Debug Info--->Yes (/DEBUG)
2 Other Settings
When build, some errors may be shown according to your VS2008 project settings, so you can set other settings by yourself according the building errors.