@@ -1651,7 +1651,7 @@ void Debugger::SendRawEvent(const DebuggerIPCEvent * pManagedEvent)
16511651
16521652 // If no debugger attached, then don't bother raising a 1st-chance exception because nobody will sniff it.
16531653 // @dbgtodo iDNA: in iDNA case, the recorder may sniff it.
1654- if (!IsDebuggerPresent ())
1654+ if (!minipal_is_native_debugger_present ())
16551655 {
16561656 return;
16571657 }
@@ -6469,7 +6469,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
64696469 //
64706470 SendUserBreakpointAndSynchronize(g_pEEInterface->GetThread());
64716471 }
6472- else if (!CORDebuggerAttached() && IsDebuggerPresent ())
6472+ else if (!CORDebuggerAttached() && minipal_is_native_debugger_present ())
64736473 {
64746474 //
64756475 // If the registered debugger is not a managed debugger, send a native breakpoint
@@ -6485,7 +6485,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
64856485 DebugBreak();
64866486 }
64876487
6488- if (!IsDebuggerPresent ())
6488+ if (!minipal_is_native_debugger_present ())
64896489 {
64906490 LOG((LF_CORDB, LL_ERROR, "D::LDFU: Failed to launch the debugger.\n"));
64916491 }
@@ -7106,7 +7106,7 @@ void Debugger::JitAttach(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo,
71067106 CONTRACTL_END;
71077107
71087108 // Don't do anything if there is a native debugger already attached or the debugging support has been disabled.
7109- if (IsDebuggerPresent () || m_pRCThread == NULL)
7109+ if (minipal_is_native_debugger_present () || m_pRCThread == NULL)
71107110 return;
71117111
71127112 GCX_PREEMP_EEINTERFACE_TOGGLE_IFTHREAD();
@@ -7181,7 +7181,7 @@ void Debugger::EnsureDebuggerAttached(Thread * pThread, EXCEPTION_POINTERS * pEx
71817181 {
71827182 // if the debugger is already attached then we can't launch one
71837183 // and whatever attach state we are in is just what we get
7184- if(IsDebuggerPresent ())
7184+ if(minipal_is_native_debugger_present ())
71857185 {
71867186 // unblock other threads waiting on our attach and clean up
71877187 PostJitAttach();
@@ -8919,7 +8919,7 @@ void Debugger::SendUserBreakpoint(Thread * thread)
89198919 // On jit-attach, we just send the UserBreak event. Don't do an extra step-out.
89208920 SendUserBreakpointAndSynchronize(thread);
89218921 }
8922- else if (IsDebuggerPresent ())
8922+ else if (minipal_is_native_debugger_present ())
89238923 {
89248924 DebugBreak();
89258925 }
@@ -16796,4 +16796,3 @@ void Debugger::MulticastTraceNextStep(DELEGATEREF pbDel, INT32 count)
1679616796#endif //DACCESS_COMPILE
1679716797
1679816798#endif //DEBUGGING_SUPPORTED
16799-
0 commit comments