diff --git a/source/diagnostics.tex b/source/diagnostics.tex index 0f6f06d687..d9053a90c0 100644 --- a/source/diagnostics.tex +++ b/source/diagnostics.tex @@ -2493,13 +2493,13 @@ \impldef{default semantics of \tcode{is_debugger_present}}. \begin{note} -It is intended that, when tracing the execution of a program with a debugger, an -implementation returns \tcode{true} with the use of an immediate query, as -needed, to determine if the program is being traced by a debugger. On Windows or +It is intended that, using an immediate (uncached) query to determine if the +program is being traced by a debugger, an implementation returns \tcode{true} +only when tracing the execution of the program with a debugger. On Windows or equivalent systems, this can be achieved by calling the \tcode{::IsDebuggerPresent()} Win32 function. For systems compatible with ISO/IEC 23360:2021, this can be achieved by checking for a tracing process, with -best effort determination that such a tracing process is a debugger. +a best-effort determination that such a tracing process is a debugger. \end{note} \end{itemdescr}