[英]problem connecting with .mdf file attached in database explorer in vs2008
[英]How to detect that my application is running in vs2008 with debugger attached?
以前我做了很多 WinFroms 組件,我們有一些 InDesigner 我想知道是否有類似的 IsWithDebuggerAttached
謝謝
您可以調查System.Diagnostics.Debugger.IsAttached 。 這將告訴您調試器是否附加到您的應用程序。 它是否是 Visual Studio 是另一回事。
在System.Diagnostics
命名空間中,使用Debugger.IsAttached
屬性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.