/Ti Compiler Option

Syntax: Default:
/Ti[+|-] /Ti-

Use /Ti to generate information for the IBM C and C++ Compilers debugger.

Setting /Ti automatically passes the /DEBUG option to the linker.

By default, the compiler does not generate debug information. When you use /Ti+, do not turn on optimization (/O+). Because the compiler produces debugging information as if the code were not optimized, the information may not accurately describe an optimized program being debugged, which makes debugging difficult. Accurate symbol and type information is not always available.

If you cannot avoid debugging an optimized program, turn the scheduler off (/Os-), and step through the program at the assembly level, using the Register and Storage windows for information.

To make full use of the IBM C and C++ Compilers debugger, make sure optimization is off (the default).



Start the Debugger


Summary of Compiler Options