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
10
struct
AssertHandlerContext
;
11
// clang-format on
12
13
namespace
DebugUtils {
14
// functions
15
// NOLINTBEGIN
16
#ifdef LL_PLAT_C
17
MCNAPI
bool
breakpadSetupFailed();
18
#endif
19
20
MCNAPI
bool
21
handleAssert_va(
char
const
* msgFormat,
char
const
* arg,
int
line,
char
const
* file,
char
const
* function,
char
* args);
22
23
MCNAPI
bool
isDebuggerAttached();
24
25
MCNAPI
bool
runAssertHandler(::std::bitset<7>
const
& steps, ::AssertHandlerContext
const
& context);
26
27
#ifdef LL_PLAT_C
28
MCNAPI
void
29
setModalDialogPresenter(::AssertDialogResponse (*modalDialogPresenter)(::std::string
const
&, ::std::string
const
&));
30
31
MCNAPI
void
setShouldDebugBreak(
bool
x);
32
33
MCNAPI
void
setShouldPresentDialog(
bool
x);
34
#endif
35
36
MCNAPI
void
setThreadName(::std::string
const
& name);
37
// NOLINTEND
38
39
}
// namespace DebugUtils
AssertHandlerContext
Definition
AssertHandlerContext.h:5
src
mc
util
DebugUtils.h
Generated on
for LeviLamina by
1.16.1