MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcDebugSetBreakFunction

Function nullcDebugSetBreakFunction

NULLC/nullc.cpp:1115–1134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1113
1114#ifndef NULLC_NO_EXECUTOR
1115nullres nullcDebugSetBreakFunction(unsigned (*callback)(unsigned int))
1116{
1117 using namespace NULLC;
1118
1119 if(!executor)
1120 {
1121 nullcLastError = "ERROR: NULLC is not initialized";
1122 return false;
1123 }
1124 executor->SetBreakFunction(callback);
1125#ifdef NULLC_BUILD_X86_JIT
1126 if(!executorX86)
1127 {
1128 nullcLastError = "ERROR: NULLC is not initialized";
1129 return false;
1130 }
1131 executorX86->SetBreakFunction(callback);
1132#endif
1133 return true;
1134}
1135
1136nullres nullcDebugClearBreakpoints()
1137{

Callers 2

WinMainFunction · 0.85
DispatcherThreadFunction · 0.85

Calls 1

SetBreakFunctionMethod · 0.45

Tested by

no test coverage detected