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