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

What are the cases why parameterization is necessary when load testing the Web server and the database server?

1940


Is there any procedure of web-site development in manual testing. If yes what are factors we should test?

2107


How can I do Server side Interface testing in Web Testing?

3451


Hello testers I am an Bsc Hotel mgmt Degree holders but now am doin my software testin programme, side by MCA Master degree an have 6 months exp i testing in company.. i want to change my CV according IT based. so can anyone help me with sendin any sample CV of urs.. do me this favour it wil be very helpful for me prepare CV for interviews....

1912


If you're given a program that will average student grades, what kinds of inputs would you use?

4623


What is the difference between action & script ?

2221


Explain test metric and the information it provides.

882


what are your thoughts on SPRINT duration

1790


what is the diff. bw separate database testers and manual testers with sql knowledge guys... iam confusing so much ,,in cmpny database testers are not working on manual..? both positions are same are not? explian clesly with example? thank u

1952


What do you mean by Cause Effect Graphing? in which standard its mentioned?

1905


Explain the difference between alpha testing and beta testing.

850


Describe to me what you see as a process. Not a particular process, just the basics of having a process.

1953


I have 6 months experience as project tarine and one and a half year experience as software engineer.Should i write taht my total experience id 2 years.

1704


What do you do (with the project tasks) when the schedule fails?

2826


pl. give me the list of top jobs website to register i have 2Yrs. Experience in manual testing

1862