HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
debugger.hpp
1
// Copyright Take Vos 2019-2020.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "
architecture.hpp
"
8
#include "utils.hpp"
9
#include <format>
10
11
namespace
hi::inline v1 {
12
13
void
prepare_debug_break() noexcept;
14
15
#if HI_OPERATING_SYSTEM == HI_OS_WINDOWS
16
17
#define hi_debug_break() \
18
::hi::prepare_debug_break(); \
19
__debugbreak()
20
21
#else
22
#error Missing implementation of hi_debug_break().
23
#endif
24
25
#define hi_debug_abort() \
26
hi_debug_break(); \
27
std::terminate()
28
29
}
// namespace hi::inline v1
architecture.hpp
Functions and macros for handling architectural difference between compilers, CPUs and operating syst...
Generated on Mon Apr 22 2024 12:52:40 for HikoGUI by
1.10.0