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. Visual Studio
  4. Debugging question: OutputDebugString and visual studio output window [modified]

Debugging question: OutputDebugString and visual studio output window [modified]

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiodebuggingquestionwinforms
3 Posts 2 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.
  • D Offline
    D Offline
    Dave Parker
    wrote on last edited by
    #1

    Not a programming question, but a debugging question! ;P I'm calling an in-process COM DLL written in FoxPro from a .NET 3.5 windows forms C# application that is being ran under the Visual Studio 2008 debugger. Within the FoxPro, I'm calling OutputDebugString() in kernel32.dll to, umm, output debug strings. These debug strings aren't showing in either the output window or immediate window in the Visual Studio IDE. If I attach WinDbg to the process I can see them - does anyone know an easy way to get them to appear in the output window though?

    modified on Tuesday, May 19, 2009 9:42 AM

    T 1 Reply Last reply
    0
    • D Dave Parker

      Not a programming question, but a debugging question! ;P I'm calling an in-process COM DLL written in FoxPro from a .NET 3.5 windows forms C# application that is being ran under the Visual Studio 2008 debugger. Within the FoxPro, I'm calling OutputDebugString() in kernel32.dll to, umm, output debug strings. These debug strings aren't showing in either the output window or immediate window in the Visual Studio IDE. If I attach WinDbg to the process I can see them - does anyone know an easy way to get them to appear in the output window though?

      modified on Tuesday, May 19, 2009 9:42 AM

      T Offline
      T Offline
      Terry Griffin
      wrote on last edited by
      #2

      You can use DbgView from sysinternals to look at the debug output. You can get it at http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx Terry

      D 1 Reply Last reply
      0
      • T Terry Griffin

        You can use DbgView from sysinternals to look at the debug output. You can get it at http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx Terry

        D Offline
        D Offline
        Dave Parker
        wrote on last edited by
        #3

        Thanks I ended up going with this and it works nicely.

        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