How to compile with debugging symbols?



How to compile with debugging symbols?..

Answer / Varsha Saxena

To compile a program with debugging symbols, use the /Z7 switch for Microsoft Visual C++. For example, 'cl /Z7 myprogram.cpp'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Debugging AllOther Interview Questions

Enhance the Debug() function so that the programmer has to press Enter or Return after debugging is deactivated?

1 Answers  


Why to use a debugger? Isn't printf/cout/System.out.println good enough?

1 Answers   Infosys, TCS,


how to debug stored procedure?

1 Answers   EDS,


What are the contents in an effective Bug report?

1 Answers   MCN Solutions,


What is the bug Life Cycle you follow?

1 Answers   Wells Fargo,


How to get help on debugger commands?

1 Answers  


How to reboot the (crashed) box via remote gdb? How?

1 Answers   IBM,


Explain debugger.

1 Answers   TCS,


if you have compressed file which has multiple source files, after make of this source file, you are getting undefined reference error. How your will debug this problem ? What might be different root causes for this ?

1 Answers   Cavium Networks,


How to debug EJB in JBoss (WebLogic or other J2EE application server) using IDE?

1 Answers   Wipro,


How to read the pixels out of a GdkPixmap?

1 Answers  


What is Integrated Debugging?

1 Answers  


Categories