72 references to Debugger
mscorlib (18)
system\diagnostics\assert.cs (4)
84if (Debugger.IsAttached == true) 85Debugger.Break(); 88if (Debugger.Launch() == false) 112if (Debugger.IsAttached)
system\diagnostics\debugger.cs (4)
67if (!Debugger.IsAttached) 98if (!Debugger.IsAttached) 122if (Debugger.IsAttached) 181if (Debugger.IsAttached)
system\diagnostics\eventing\eventsource.cs (2)
2114System.Diagnostics.Debugger.Log(0, null, Environment.GetResourceString("EventSource_VarArgsParameterMismatch") + "\r\n"); 3935System.Diagnostics.Debugger.Log(0, null, msg + "\r\n");
system\diagnostics\log.cs (1)
155Debugger.Log ((int) level, logswitch.strName, message);
system\diagnostics\logswitch.cs (1)
112if (Debugger.IsAttached)
system\Lazy.cs (1)
337Debugger.NotifyOfCrossThreadDependency();
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
913Debugger.NotifyOfCrossThreadDependency();
system\threading\Tasks\AsyncCausalityTracer.cs (1)
285Debugger.Log(0, "AsyncCausalityTracer", ex.ToString());
system\threading\Tasks\Task.cs (1)
3247Debugger.NotifyOfCrossThreadDependency();
system\threading\Tasks\TaskScheduler.cs (1)
312if (Debugger.IsAttached)
system\threading\ThreadLocal.cs (1)
335Debugger.NotifyOfCrossThreadDependency();
PresentationCore (2)
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (2)
298System.Diagnostics.Debugger.IsAttached || 419get { return s_IsEnableVisualTreeChangedAllowed ?? System.Diagnostics.Debugger.IsAttached; }
PresentationFramework (2)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1205if (Debugger.IsAttached)
src\Framework\System\Windows\Standard\Debug.cs (1)
26Debugger.Break();
System (6)
compmod\system\diagnostics\assertwrapper.cs (3)
159if (!System.Diagnostics.Debugger.IsAttached) { 160System.Diagnostics.Debugger.Launch(); 162System.Diagnostics.Debugger.Break();
compmod\system\diagnostics\DefaultTraceListener.cs (2)
183if (Debugger.IsLogging()) { 184Debugger.Log(0, null, message);
net\System\Net\_LoggingObject.cs (1)
982Debugger.Break();
System.Activities (10)
System\Activities\Activity.cs (5)
437Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 451Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 465Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 539Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root"); 548Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root");
System\Activities\Debugger\SourceLocationProvider.cs (1)
135if (System.Diagnostics.Debugger.IsAttached)
System\Activities\Debugger\ThreadWorkerController.cs (3)
92if (Debugger.IsAttached) 94Debugger.Break(); 121Debugger.Break();
System\Activities\Runtime\ActivityExecutor.cs (1)
965if (System.Diagnostics.Debugger.IsAttached)
System.AddIn (4)
System\Addin\Hosting\AddInControllerImpl.cs (1)
365Debugger.Log(0, "AddInController", message);
System\Addin\Hosting\AddInStore.cs (3)
559if(Debugger.IsAttached) 561Debugger.Break(); 609Debugger.Log(0, "AddInStore", warning);
System.Core (1)
System\Linq\Parallel\Scheduling\QueryLifecycle.cs (1)
32Debugger.NotifyOfCrossThreadDependency();
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1786System.Diagnostics.Debugger.IsAttached) {
System.Data.Services (1)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
72System.Diagnostics.Debugger.IsAttached || this.instance != null,
System.Runtime.Remoting (2)
channels\ipc\ipcclientchannel.cs (1)
284System.Diagnostics.Debugger.NotifyOfCrossThreadDependency();
channels\tcp\tcpclientchannel.cs (1)
392System.Diagnostics.Debugger.NotifyOfCrossThreadDependency();
System.ServiceModel (1)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
247if (System.Diagnostics.Debugger.IsAttached)
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (2)
98if (Debugger.IsAttached) 111if (Debugger.IsAttached)
System.Web (12)
Cache\SqlCacheDependency.cs (3)
655if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) { 814if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) { 1031if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) {
HttpContext.cs (2)
1789if (CompilationUtil.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached) 1826if (CompilationUtil.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached) {
HttpRuntime.cs (1)
1950if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) {
IdleTimeoutMonitor.cs (1)
74if (System.Diagnostics.Debugger.IsAttached)
Util\AppVerifier.cs (4)
124if (Debugger.Launch()) { 125Debugger.Break(); 134if (Debugger.IsAttached) { 135Debugger.Break();
Util\Debug.cs (1)
845return (NativeMethods.IsDebuggerPresent() || System.Diagnostics.Debugger.IsAttached);
System.Web.Services (1)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
52enabled = !CompModSwitches.DisableRemoteDebugging.Enabled && Debugger.IsAttached && Connection != null;
System.Windows.Forms (4)
winforms\Managed\System\WinForms\Application.cs (2)
3658if (Debugger.IsAttached) { 3659Debugger.Break();
winforms\Managed\System\WinForms\Control.cs (1)
309private static bool checkForIllegalCrossThreadCalls = Debugger.IsAttached;
winforms\Managed\System\WinForms\NativeWindow.cs (1)
287if (Debugger.IsAttached) {
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
444if (!Debugger.IsAttached)
WindowsBase (4)
Base\MS\Internal\AvTrace.cs (1)
262return Debugger.IsAttached || SafeNativeMethods.IsDebuggerPresent();
Shared\MS\Internal\Invariant.cs (1)
266Debugger.Break();
Shared\MS\Win32\HwndWrapper.cs (2)
391if( System.Diagnostics.Debugger.IsAttached ) 392System.Diagnostics.Debugger.Break();