???? ?????? ?? ?? ????? C++ ????????? ?? ??? ????? ?? ??? ???? ????

???? ?????? ???? ??????
???? ID: 291585 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?????? ??? ?? ?? ???? ??? ??????? ?? ?? ?? Microsoft ??????? ????? ?? ??? Windows ?? ????? ???? ??? ???? ??????? ???? ?? ????? ?? ???? ??? ?? ????? ?? ??? ???? ??? ?? ???? ??? ?? ??????? ?? ??????? ???? ?? ??? ????? Microsoft ??? ???? ?? ????:
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
?????? ?? ???? ????? ?? ?????? ???????, ?? ???? ????????? ??? ????? ?? ???? ??? ????? ??? ?? ????? ???? ??? ?? ???? ???? ????????? ?? ??? ??????? ???? ?????

?? ???? ????? ???? ?? ?? ?? ?? ???? ????? C++ ????????? ?? ??? ?????? ??????? ????? ?????? ???????, ????? ??? ?? .pdb ???????, ????? ?? ??? ???? ????? ?? ?? Microsoft ?????? ?????? ???? ?? ??? ??? ???? ???, ?? ???? ???? ????? ?????? ????????? ? ??? ??? ?? ?? ?????? ?? ???? ????????? ???? ?? ??? ?? assisting ?? ?? ???? ??? ?? ??? ?? ??????? ?? ?????? ????? ?? ???? ?? ???? ?? ??? ?? ???? ????????? ?? ???????? ??????? ???????? ??????? ?? ??? ?????? ??????? ?? ????? ?? ??? ?? ????? ?????? ?? ???

?? ???? ????? ?? ?? ?? ????????? ?? Microsoft Visual C++ ?? ????? ?? ????? ?? ?????? ???? ????? ??????? ????? ?? ??? ???? ???? ?? ???? ??? definitive ????? ?? ??? ????? C++ ?? ???????? ??????

???? ???????

????? ?????? ?? builds ???: ?????? ?? ???? ????? Always set the build type toreleasefor builds that are shipped to customers. The???? ????build is frequently used during the development phase of the application. Both types of builds can be debugged, and both types of builds must have symbols to debug them. One important difference is that thereleasesetting in Visual C++ turns on compiler optimization and the???? ????setting turns compiler optimization off. When compiler optimization is turned on, the application runs faster. ???????, ?? ???? ?? ??????? ???? ????? ??? ??? ??? ???? ??? ???? ??? ????? ??? ?????? ?????? ???? ??? ??? ?? ?????? ?? ??? ???? ?? ??? ????? ?????, ???? ????????? ?? ????? ???, ?? ????? ???? ?? ???? ???? ?? ??? ??????? ??????????

????? C++ 6.0 ?? ????? C++ .NET ??? ????? ????????, ??? ???? ??? ??? ???? ????? ?? ??? ?????? ????????? ??????, ?? ???? ??? ???? ??? ??? ?????? ????? ?? ??? ?? ?? ??? ?????????????? ??????? ??? ?? Visual C++ ????? ???? ??? ?? ??? ????? ???????? ???, ???? ??? ???? ????? ?? ??? ?? ??????? ?? linker ?????? ?? ??? ???? ?? ????

????? C++ .NET ?? ?? ??? ????? C++ 6.0 ?? ??? ?????? ????? ??????? ?? ????? ???? ?? ??? ????? ??????? ?? ???? ????? ?????? Cl.exe ?? ' ?????? ????????? ????:

???????

  • ?????? ????/ Z7????? C++ .NET ?? ???
  • ?????? ????/Zi????? C++ 6.0 ?? ???
  • ?????? ????/ O2
??????? ?????? ?? ???? ??? ???????? ??????? ?? ??? ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?? ????:
HTTP://MSDN.Microsoft.com/en-us/library/aa236704.aspx

Linker

  • ??? ????/ ?????????: ????
  • ??? ????/DEBUG:Yes
  • ??? ????/ OPT: REF
  • ??? ????/ OPT: ICF
Linker ?????? ?? ???? ??? ???????? ??????? ?? ??? ????? MSDN ??? ???? ?? ????:
HTTP://MSDN.Microsoft.com/en-us/library/aa270751.aspx

????? C++ 6.0 ??? ??? ?????? ????? ??? ??????? ????? ????

?? ????? C++ 6.0 ????? ?? ??????? ??? ??? ?????? ????? ??? ???? ???? ????? ????, ????? ????? ?? ???? ????:
  1. ????? ????????????????? ??,????????.
  2. ????? ????,Win32 ???? ???????????.
  3. ????? ????C/C++??? ??,???????, ?? ???? ??? ????? ??? ????:
    • set???????????????? ?? ?????? ???????? ???? ?? ??????? ?? ???? ????.
    • set??????? ???? ???????? ?? ???????????? ???????.
  4. ????? ??????????? ??,???????, ?? ???? ??? ????? ??? ????:
    • ????????? ???? ?? ?? ?? ??? ???? ?? ??? ????? ???????? ????? ??????? ????.
    • ????????? ???? ?? ?? ?????Incrementally ???? ??????? ?????.
  5. ??????? ????????????? ??????????, ?? ???? ??? ?????/ opt: ref, icf.
?? ?? ???? ?????? ????? ????????? ???? ?? ???? ???? ??????, ?? ???? ???? ?????? ?????? ??, ?? ?? ?? ??? ?? ?????? ?? ??? ?????? ?? ??? ???????? ?? ??? ?? ??? ?? ????????? ??? ??? ??? ????????? ???? ???? ????? ??? ??? ???? ??, ????? ??? ?????? ??????? ???? ??? ???? ???? ??, ?? ?? ?? ?? ?? ??????? ???????????? ???? ????? ??? ??? ?? ??? exposing ???

??? ???? ????? ?????, ?? ??? ????? ?????? ?? ????? ????:

???????

  • ?????? ????/ZI
  • ?????? ????/Od

Linker

  • /debug
  • ????????? /: ???
??? ????? ??, ?? ?? ????????? recompile, ?? ??? ???? ???? \Debug ?? ???? ????????? ?? \Release ?????????? ??? .pdb ??????? ???? ????? ??????????? ?? ???? ???

??????

???????? ??????? ?? ???, ????? ???????? ?????:

Robbins, ???????????? ?????????. Microsoft ??????

???

???? ID: 291585 - ????? ???????: 03 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Visual C++ .NET 2003 Standard Edition
  • Microsoft Visual C++ .NET 2002 Standard Edition
??????: 
kbdebug kbhowto kbsymbols kbmt KB291585 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:291585

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com