GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing eel.is β [debugging] 19 Diagnostics library [diagnostics]19.7 Debugging [debugging]19.7.1 General [debugging.general]19.7.2 Header <debugging> synopsis [debugging.syn]19.7.3 Utility [debugging.utility]19.7.1 General [debugging.general]Subclause [debugging] describes functionality to introspect and
interact with the execution of the program. 19.7.2 Header <debugging> synopsis [debugging.syn]// all freestanding
namespace std {
// [debugging.utility], utility
void breakpoint() noexcept;
void breakpoint_if_debugging() noexcept;
bool is_debugger_present() noexcept;
}
19.7.3 Utility [debugging.utility]void breakpoint() noexcept;
The semantics of this function are implementation-defined. [Note 1:β It is intended that, when invoked with a debugger present, the execution of the
program temporarily halts and execution is handed to the debugger until the
program is either terminated by the debugger or the debugger resumes execution
of the program as if the function was not invoked. In particular, there is no
intent for a call to this function to accomodate resumption of the program in a
different manner. If there is no debugger present, execution of the program can
end abnormally. β end note]void breakpoint_if_debugging() noexcept;
bool is_debugger_present() noexcept;
Default behavior: implementation-defined. [Note 2:β It is intended that, using an immediate (uncached) query to determine if the
program is being traced by a debugger, an implementation returns true
only when tracing the execution of the program with a debugger. On Windows or
equivalent systems, this can be achieved by calling the
β::βIsDebuggerPresent() Win32 function. For systems compatible with
ISO/IEC 23360:2021, this can be achieved by checking for a tracing process, with
a best-effort determination that such a tracing process is a debugger. β end note]Remarks: This function is replaceable ([dcl.fct.def.replace]). |
| You are visitor 01402503 β GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ600. No cookies required. |