Debugger.IsAttached

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tony

    #1

    Debugger.IsAttached



    hi, in my code i use "Debugger.IsAtt ached" to know if
    im my application is running in the vs.net while developing.

    the problem now is i want to attach the vs.net to my "real" app, that
    running.
    and the Debugger.IsAtta ched return true .(i understand why :) ).


    how in code ,i can know if my application runs FROM the vs.net (while
    developing)
    or run outside the vs.net,like regular application.


  • Mattias Sjögren

    #2
    Re: Debugger.IsAtta ched

    [color=blue]
    >how in code ,i can know if my application runs FROM the vs.net (while
    >developing)
    >or run outside the vs.net,like regular application.[/color]

    From an application's perspective there's no difference.



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...