Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TRACE macro

Status
Not open for further replies.
Mar 13, 2000
20
0
0
CA
Does anyone know how to setup VisualC++ in order to see the display of the TRACE macros for debugging?
 
Hi,
The TRACE macro is active only in the debug version of the class library. After a program has been debugged, you can build a release version to deactivate all TRACE calls in the program.
For this what u need to do is in ur Project Settings menu select from the Settings For: combo on the Top left cornor of ur screen, Win32 Debug. Then while debugging u'll see the display of TRACE macros in ur Output windows, Debug tag.
I hope this helps ur case.:)
Thanks and regards,
Hemant Kapadia.

 
Hi,
Kapadia is right,
also you should check the "tracer" that you will find it under Ms Visual Studio tools. When you run it you will see MFC trace options program. Then you can select tracing options. For example if "Enable Tracing" is not checked then you can't see TRACE macro's outputs.

Omer YESIL
Visual C++, SQL, TCP/IP, Delphi, Pascal, Assembler, 3D Studio Max.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top