@@ -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 }
@@ -6460,7 +6460,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
64606460 //
64616461 SendUserBreakpointAndSynchronize(g_pEEInterface->GetThread());
64626462 }
6463- else if (!CORDebuggerAttached() && IsDebuggerPresent ())
6463+ else if (!CORDebuggerAttached() && minipal_is_native_debugger_present ())
64646464 {
64656465 //
64666466 // If the registered debugger is not a managed debugger, send a native breakpoint
@@ -6476,7 +6476,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
64766476 DebugBreak();
64776477 }
64786478
6479- if (!IsDebuggerPresent ())
6479+ if (!minipal_is_native_debugger_present ())
64806480 {
64816481 LOG((LF_CORDB, LL_ERROR, "D::LDFU: Failed to launch the debugger.\n"));
64826482 }
@@ -7097,7 +7097,7 @@ void Debugger::JitAttach(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo,
70977097 CONTRACTL_END;
70987098
70997099 // Don't do anything if there is a native debugger already attached or the debugging support has been disabled.
7100- if (IsDebuggerPresent () || m_pRCThread == NULL)
7100+ if (minipal_is_native_debugger_present () || m_pRCThread == NULL)
71017101 return;
71027102
71037103 GCX_PREEMP_EEINTERFACE_TOGGLE_IFTHREAD();
@@ -7172,7 +7172,7 @@ void Debugger::EnsureDebuggerAttached(Thread * pThread, EXCEPTION_POINTERS * pEx
71727172 {
71737173 // if the debugger is already attached then we can't launch one
71747174 // and whatever attach state we are in is just what we get
7175- if(IsDebuggerPresent ())
7175+ if(minipal_is_native_debugger_present ())
71767176 {
71777177 // unblock other threads waiting on our attach and clean up
71787178 PostJitAttach();
@@ -8910,7 +8910,7 @@ void Debugger::SendUserBreakpoint(Thread * thread)
89108910 // On jit-attach, we just send the UserBreak event. Don't do an extra step-out.
89118911 SendUserBreakpointAndSynchronize(thread);
89128912 }
8913- else if (IsDebuggerPresent ())
8913+ else if (minipal_is_native_debugger_present ())
89148914 {
89158915 DebugBreak();
89168916 }
@@ -16784,4 +16784,3 @@ void Debugger::MulticastTraceNextStep(DELEGATEREF pbDel, INT32 count)
1678416784#endif //DACCESS_COMPILE
1678516785
1678616786#endif //DEBUGGING_SUPPORTED
16787-
0 commit comments