In my C # code, I would like to know if the application was launched by the debugger (in my case, VisualStudio). Does anyone know how to get this information?
TIA
System.Diagnostics.Debugger.IsAttached
Note: The answer is not entirely correct. :)
Source: https://habr.com/ru/post/1316391/More articles:Using memcache in google engine - javaProblem creating an executable from a scala file - scalaCan I control the iPhone proximity sensor without turning off the screen? In addition, landscape - iphoneHow to remove all html tags except img? - regexPut all output DLLs in a shared directory from Visual Studio - visual-studio-2010Scala, Google Visualization Charts, and APIs - scalaCreate a list from HashTable keys? - collectionsGo to the external url from the bean backup? - javaThe Eclipse IDE will fire after a few seconds with the JVM shutting down. Exit Code = 1 - javaUISplitView - loads a different detailView for each row into a masterView - iphoneAll Articles