WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
debugging.hpp
Go to the documentation of this file.
1#ifndef IXM_BREAKPOINT_HPP
2#define IXM_BREAKPOINT_HPP
3
5
6namespace wpi {
7
8bool is_debugger_present() noexcept;
9
10#if defined(__GNUC__) && !defined(__clang__)
11[[gnu::flatten]]
12#endif
13inline void breakpoint() noexcept
14{
15 psnip_trap();
16}
17
18
19#if defined(__GNUC__) && !defined(__clang__)
20[[gnu::flatten]]
21#endif
22inline void breakpoint_if_debugging() noexcept
23{
25}
26
27} // namespace wpi
28
29#endif
Foonathan namespace.
Definition ntcore_cpp.h:26
void breakpoint_if_debugging() noexcept
Definition debugging.hpp:22
bool is_debugger_present() noexcept
void breakpoint() noexcept
Definition debugging.hpp:13
#define psnip_trap()
Definition psnip_debug_trap.h:60