| 1238 | } |
| 1239 | |
| 1240 | void PiuDebugMachinePopTag(PiuDebugMachine self, char* theName) |
| 1241 | { |
| 1242 | xsMachine* the = self->the; |
| 1243 | if (strcmp(theName, "xsbug") == 0) { |
| 1244 | (void)xsCall0(self->thisSlot, xsID_onParsed); |
| 1245 | } |
| 1246 | else if (strcmp(theName, "samples") == 0) { |
| 1247 | self->logging = 0; |
| 1248 | xsResult = xsGet(self->listSlot, xsID_data); |
| 1249 | (void)xsCall1(self->thisSlot, xsID_onSampled, xsResult); |
| 1250 | self->listSlot = xsUndefined; |
| 1251 | } |
| 1252 | else if (strcmp(theName, "log") == 0) { |
| 1253 | self->logging = 0; |
| 1254 | xsVar(0) = xsGet(self->itemSlot, xsID_path); |
| 1255 | xsVar(1) = xsGet(self->itemSlot, xsID_line); |
| 1256 | xsResult = xsGet(self->listSlot, xsID_data); |
| 1257 | (void)xsCall3(self->thisSlot, xsID_onLogged, xsVar(0), xsVar(1), xsResult); |
| 1258 | self->listSlot = xsUndefined; |
| 1259 | } |
| 1260 | else if (strcmp(theName, "bubble") == 0) { |
| 1261 | self->logging = 0; |
| 1262 | xsVar(0) = xsGet(self->itemSlot, xsID_path); |
| 1263 | xsVar(1) = xsGet(self->itemSlot, xsID_line); |
| 1264 | xsVar(2) = xsGet(self->itemSlot, xsID_name); |
| 1265 | xsVar(3) = xsGet(self->itemSlot, xsID_value); |
| 1266 | xsResult = xsGet(self->listSlot, xsID_data); |
| 1267 | (void)xsCall5(self->thisSlot, xsID_onBubbled, xsVar(0), xsVar(1), xsVar(2), xsVar(3), xsResult); |
| 1268 | self->listSlot = xsUndefined; |
| 1269 | } |
| 1270 | else if (strcmp(theName, "break") == 0) { |
| 1271 | self->logging = 0; |
| 1272 | xsVar(0) = xsGet(self->itemSlot, xsID_path); |
| 1273 | xsVar(1) = xsGet(self->itemSlot, xsID_line); |
| 1274 | xsResult = xsGet(self->listSlot, xsID_data); |
| 1275 | (void)xsCall3(self->thisSlot, xsID_onLogged, xsVar(0), xsVar(1), xsResult); |
| 1276 | (void)xsCall3(self->thisSlot, xsID_onBroken, xsVar(0), xsVar(1), xsResult); |
| 1277 | self->listSlot = xsUndefined; |
| 1278 | } |
| 1279 | else if (strcmp(theName, "breakpoints") == 0) { |
| 1280 | (void)xsCall2(self->thisSlot, xsID_onViewChanged, xsInteger(mxBreakpointsView), self->listSlot); |
| 1281 | self->listSlot = xsUndefined; |
| 1282 | } |
| 1283 | else if (strcmp(theName, "instruments") == 0) { |
| 1284 | (void)xsCall2(self->thisSlot, xsID_onViewChanged, xsInteger(mxInstrumentsView), self->listSlot); |
| 1285 | self->listSlot = xsUndefined; |
| 1286 | } |
| 1287 | else if (strcmp(theName, "files") == 0) { |
| 1288 | (void)xsCall2(self->thisSlot, xsID_onViewChanged, xsInteger(mxFilesView), self->listSlot); |
| 1289 | self->listSlot = xsUndefined; |
| 1290 | } |
| 1291 | else if (strcmp(theName, "frames") == 0) { |
| 1292 | (void)xsCall2(self->thisSlot, xsID_onViewChanged, xsInteger(mxFramesView), self->listSlot); |
| 1293 | self->listSlot = xsUndefined; |
| 1294 | } |
| 1295 | else if (strcmp(theName, "global") == 0) { |
| 1296 | (void)xsCall2(self->thisSlot, xsID_onViewChanged, xsInteger(mxGlobalsView), self->listSlot); |
| 1297 | self->listSlot = xsUndefined; |
no outgoing calls
no test coverage detected