tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches

Debugging library. More...

Functions

auto breakpoint () noexcept -> void
 Unconditional breakpoint: attempts to temporarily halt the execution of the program and transfer control to the debugger.
 
auto breakpoint_if_debugging () noexcept -> void
 Conditional breakpoint: attempts to temporarily halt the execution of the program and transfer control to the debugger if it were able to determine that the debugger is present. Acts as a no-op otherwise.
 
auto is_debugger_present () noexcept -> bool
 Attempts to determine if the program is being executed with debugger present.
 

Detailed Description

Debugging library.

Function Documentation

◆ breakpoint()

auto breakpoint ( ) -> void
inlinenoexcept

Unconditional breakpoint: attempts to temporarily halt the execution of the program and transfer control to the debugger.

◆ breakpoint_if_debugging()

auto breakpoint_if_debugging ( ) -> void
inlinenoexcept

Conditional breakpoint: attempts to temporarily halt the execution of the program and transfer control to the debugger if it were able to determine that the debugger is present. Acts as a no-op otherwise.

◆ is_debugger_present()

auto is_debugger_present ( ) -> bool
inlinenodiscardnoexcept

Attempts to determine if the program is being executed with debugger present.