howmany buids u hav in u r project , for how many days u get
build

Answer Posted / ashutosh soni

There are two types of builds: release and debug. Always set
the build type to release for builds that are shipped to
customers. The debug 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 the release
setting in Visual C++ turns on compiler optimization and the
debug setting turns compiler optimization off. When compiler
optimization is turned on, the application runs faster.
However, it is not as easy to step through the code because
the source code lines are not compiled in the exact order
that they appear in the source code. Therefore, during the
development phase of a project, it is easier to debug a
debug build.

In both the Visual C++ 6.0 and the Visual C++ .NET
development environments, you can create a debug build by
selecting debug as the build type, and you can create a
release build by selecting release as the build type. If you
are not using the Visual C++ development environments, you
must know what compiler and linker options to set.

To enable debugging of a release build for Visual C++ .NET
or for Visual C++ 6.0, change the following compiler options
on the Cl.exe compile of your build:
Compiler

* Enable /Z7 for Visual C++ .NET
* Enable /Zi for Visual C++ 6.0
* Enable /O2

For additional information about the Compiler option, visit
the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/aa236704.aspx
(http://msdn.microsoft.com/en-us/library/aa236704.aspx)
Linker

* Select/INCREMENTAL:NO
* Select /DEBUG:Yes
* Select /OPT:REF
* Select /OPT:ICF

For additional information about the Linker option, visit
the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/aa270751.aspx
(http://msdn.microsoft.com/en-us/library/aa270751.aspx)
Enable Debugging in a Release Build in Visual C++ 6.0
To enable debugging in a release build in a Visual C++ 6.0
development environment, follow these steps:

1. On the Project menu, click Settings.
2. Click Win32 Release configuration.
3. On the C/C++ tab, click General, and then set the
following:
* Set Optimizations to Maximize Speed or to
Minimize Size.
* Set Debug Info to Program Database.
4. On the Link tab, click General, and then set the
following:
* Make sure that you click to select Generate
debug info.
* Make sure that you clear the Link incrementally
check box.
5. Edit the Project options directly, and then add
/opt:ref,icf.

You can now debug your release build application. To find
the problem, step through the code until you find where the
failure occurs, and then determine the incorrect parameters
or code. If a program works in a debug build, but fails in a
release build, it is likely that one of the compiler
optimizations is exposing a defect in your source code.

To create a debug build, use the following options:
Compiler

* Enable /ZI
* Enable /Od

Linker

* /debug
* /incremental:yes

After you have completed the steps, and you recompile the
application, you will have .pdb files in either the \Debug
or the \Release directory of your project, depending on your
build configuration.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write 2 scenarios for Integration testing? Please let me know its urgent.

1570


what is dib format?

1478


1) Difference between "Delete" and "Concatenate" with reference to databases? 2) Difference between SDLC and STLC. 3) Latest versions of the browsers used. 4) What is URL Tampering? 5) Full form of URL. I don't need the answers. These are just for reference.

1974


What is benchmark testing? hi friends... can anyone suggest the correct answer plz...

3195


write 5 critical test cases on product payment form on flipkart.com?

1509






Explain user acceptance testing.

663


How to test the Online Games?? Suggest tricks. I have experience in server-client application testing.

1458


Hi i am looking for Test Engineer Job, i have done the course, but i don't have work experience on it, Is it So important to have real time Exp or knowledge is enough? and please let me know like how i can improve for the interview. You can send me a mail on this id: rashmi_vastred@yahoo.co.in

1625


Can any tell me how a clinical data management system is tested? what are the test scenarios? what are the test cases? work flow.

1430


what is test scenario and test condition?

1490


How to find that tools work well with your existing system?

1605


is it not possible to automate full project??what r the parts in project that cant be automated(tht has to be done manually)?

1997


What is user acceptance testing (uat)?

661


I HAVE AN INTERVIEW IN A SOFTWARE COMPANY FOR THE POST OF FUNCTIONAL TEST ENGINEER. THEY WANT THE PERSON FROM BCOM BACK GROUND( I AM A BCOME GRADUATE 2006) AND THE PERSON SHOULD HAVE GOOD ACCOUNTS KNOWLEDGE. NOW I WANT TO KNOW WHAT KINDS OF QUESTIONS THEY CAN ASK OR CAN GIVE IN WRITTEN TEST. I M NERVOUS COZ ITS BEEN 5 YEARS I HAVE DONE BCOM. SO HOW SHUD I PREPARE FOR INTERVIEW.PLEASE HELP? reply me pls. its urgent. thanks

1563


Hi friends, Im an MBA Finance, 2 yrs of exp workng in Investment com, + around 2 yrs of exp in Manual testing in Finane domain. Im looking for manual testing jobs but not getting any calls, Im worried is manual tesing in finance domain do have any good scopes in future or not. Plz provide me ur valuable suggestion,so tht I can best decision to retain in this platform(manual testing). or not

1886