Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Where is a Trace Statement outputted

Where is a Trace Statement outputted

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingc++helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John Cruz
    wrote on last edited by
    #1

    When using the Trace statement in MFC where does it output it. coz ive tried look for it when in the debugger and it wont out the string inside my Trace statement. can anyone help me? thank you very much... john

    C 1 Reply Last reply
    0
    • J John Cruz

      When using the Trace statement in MFC where does it output it. coz ive tried look for it when in the debugger and it wont out the string inside my Trace statement. can anyone help me? thank you very much... john

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      It's output to the output window, which may not be visible. It's output only in debug builds, and possibly only when you run in debug mode. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

      J 1 Reply Last reply
      0
      • C Christian Graus

        It's output to the output window, which may not be visible. It's output only in debug builds, and possibly only when you run in debug mode. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

        J Offline
        J Offline
        John Cruz
        wrote on last edited by
        #3

        Thanks Christian.

        R 1 Reply Last reply
        0
        • J John Cruz

          Thanks Christian.

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #4

          Note that TRACE is a layer over OutputDebugString. See the docs on it for more info.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups