LeviLamina
Loading...
Searching...
No Matches
DebugUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/debug/AssertDialogResponse.h"
7
8// auto generated forward declare list
9// clang-format off
11// clang-format on
12
13namespace DebugUtils {
14// functions
15// NOLINTBEGIN
16#ifdef LL_PLAT_C
17MCNAPI bool breakpadSetupFailed();
18#endif
19
20MCNAPI bool
21handleAssert_va(char const* msgFormat, char const* arg, int line, char const* file, char const* function, char* args);
22
23MCNAPI bool isDebuggerAttached();
24
25MCNAPI bool runAssertHandler(::std::bitset<7> const& steps, ::AssertHandlerContext const& context);
26
27#ifdef LL_PLAT_C
28MCNAPI void
29 setModalDialogPresenter(::AssertDialogResponse (*modalDialogPresenter)(::std::string const&, ::std::string const&));
30
31MCNAPI void setShouldDebugBreak(bool x);
32
33MCNAPI void setShouldPresentDialog(bool x);
34#endif
35
36MCNAPI void setThreadName(::std::string const& name);
37// NOLINTEND
38
39} // namespace DebugUtils
Definition AssertHandlerContext.h:5