CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    388

    TRACE0 ("What is this?")

    I have read the help of TRACE in a book, but could no appreciate, why do we use it?
    I have written TRACE0("What is this") in a program; When i debug and move step-wise over this line, nothing happens?
    Can somebody help me why and when do we use this macro. How does TRACE helps in debugging?
    thankx


  2. #2
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: TRACE0 ("What is this?")

    Hi,

    the output of the TRACE macros is shown in the Output window in the IDE. It's useful if you want to see for instance the order in which your message handlers are called and you don't want to use breakpoints, or want to display the content of variables and something else.



    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured