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

Function nullcDebugRemoveBreakpoint

NULLC/nullc.cpp:1196–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196nullres nullcDebugRemoveBreakpoint(unsigned int instruction)
1197{
1198 using namespace NULLC;
1199
1200 if(!executor)
1201 {
1202 nullcLastError = "ERROR: NULLC is not initialized";
1203 return false;
1204 }
1205 if(!executor->RemoveBreakpoint(instruction))
1206 {
1207 nullcLastError = executor->GetExecError();
1208 return false;
1209 }
1210#ifdef NULLC_BUILD_X86_JIT
1211 if(!executorX86)
1212 {
1213 nullcLastError = "ERROR: NULLC is not initialized";
1214 return false;
1215 }
1216 if(!executorX86->RemoveBreakpoint(instruction))
1217 {
1218 nullcLastError = executorX86->GetExecError();
1219 return false;
1220 }
1221#endif
1222 return true;
1223}
1224
1225ExternFuncInfo* nullcDebugConvertAddressToFunction(int instruction)
1226{

Callers 2

WndProcFunction · 0.85
GeneralCommandThreadFunction · 0.85

Calls 2

RemoveBreakpointMethod · 0.45
GetExecErrorMethod · 0.45

Tested by

no test coverage detected