| 1113 | |
| 1114 | #ifndef NULLC_NO_EXECUTOR |
| 1115 | nullres 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 | |
| 1136 | nullres nullcDebugClearBreakpoints() |
| 1137 | { |
no test coverage detected