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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Debug.Write - no output :/

Debug.Write - no output :/

Scheduled Pinned Locked Moved C#
debugginghelpcsharpvisual-studioworkspace
3 Posts 2 Posters 1 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.
  • S Offline
    S Offline
    Sebastian K Zaklada
    wrote on last edited by
    #1

    I have a problem with using System.Diagnostics.Debug methods. I created an empty test project and added only: System.Diagnostics.Debug.Write("Write something"); System.Diagnostics.Debug.Write("Write something 2"); I set breakpoint on the second line to be sure, that the first method was actually executed and run the program using the Debug configuration. No output in the "Output" IDE window though :/ I have just switched from VS2003 to VS2005 and I have a fairly large application written natively with .NET 2005 to debug and no Debug logging functions output is making my efforts to understant the logic of that application fairly impossible. I would appreciate any help. I think that the solution is very simple, but somehow cannot find it when Googling the net. regards, SebekZ

    Q 1 Reply Last reply
    0
    • S Sebastian K Zaklada

      I have a problem with using System.Diagnostics.Debug methods. I created an empty test project and added only: System.Diagnostics.Debug.Write("Write something"); System.Diagnostics.Debug.Write("Write something 2"); I set breakpoint on the second line to be sure, that the first method was actually executed and run the program using the Debug configuration. No output in the "Output" IDE window though :/ I have just switched from VS2003 to VS2005 and I have a fairly large application written natively with .NET 2005 to debug and no Debug logging functions output is making my efforts to understant the logic of that application fairly impossible. I would appreciate any help. I think that the solution is very simple, but somehow cannot find it when Googling the net. regards, SebekZ

      Q Offline
      Q Offline
      Qhalis
      wrote on last edited by
      #2

      Have a look to see if the output is showing in the Immediate window. There is an option in 2005 under Debugging/General for re-directing all output window text to the Immediate window. If this is set then Debug goes to immediate rather than Output. hth, Q.

      S 1 Reply Last reply
      0
      • Q Qhalis

        Have a look to see if the output is showing in the Immediate window. There is an option in 2005 under Debugging/General for re-directing all output window text to the Immediate window. If this is set then Debug goes to immediate rather than Output. hth, Q.

        S Offline
        S Offline
        Sebastian K Zaklada
        wrote on last edited by
        #3

        I knew that it would be a simple checkbox that was to be unchecked somewhere... well, maybe I was thinking more of a weekend than work and that is the reason that I had not noticed this option. Thank you :) regards, Sebastian K. Zaklada

        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