| 1084 | } |
| 1085 | |
| 1086 | void fxDebugPushTag(txMachine* the) |
| 1087 | { |
| 1088 | switch (the->debugTag) { |
| 1089 | case XS_ABORT_TAG: |
| 1090 | fxLogout(the); |
| 1091 | fxGo(the); |
| 1092 | fxAbort(the, XS_DEBUGGER_EXIT); |
| 1093 | break; |
| 1094 | case XS_BREAKPOINT_TAG: |
| 1095 | fxSetBreakpoint(the, the->pathValue, the->lineValue, the->idValue); |
| 1096 | break; |
| 1097 | case XS_BREAKPOINT_CONDITION_TAG: |
| 1098 | fxSetBreakpointCondition(the, the->stack, the->pathValue); |
| 1099 | break; |
| 1100 | case XS_BREAKPOINT_HIT_COUNT_TAG: |
| 1101 | fxSetBreakpointHitCount(the, the->stack, the->pathValue); |
| 1102 | break; |
| 1103 | case XS_BREAKPOINT_TRACE_TAG: |
| 1104 | fxSetBreakpointTrace(the, the->stack, the->pathValue); |
| 1105 | break; |
| 1106 | case XS_CLEAR_ALL_BREAKPOINTS_TAG: |
| 1107 | fxClearAllBreakpoints(the); |
| 1108 | break; |
| 1109 | case XS_CLEAR_BREAKPOINTS_TAG: |
| 1110 | fxClearBreakpoint(the, the->pathValue, the->lineValue, the->idValue); |
| 1111 | break; |
| 1112 | case XS_EVAL_TAG: |
| 1113 | fxDebugEval(the, (txSlot*)the->idValue, the->pathValue, the->lineValue); |
| 1114 | break; |
| 1115 | case XS_GO_TAG: |
| 1116 | fxGo(the); |
| 1117 | break; |
| 1118 | case XS_LOGOUT_TAG: |
| 1119 | fxLogout(the); |
| 1120 | fxGo(the); |
| 1121 | break; |
| 1122 | case XS_SELECT_TAG: |
| 1123 | fxSelect(the, (txSlot*)the->idValue); |
| 1124 | fxEchoStart(the); |
| 1125 | fxListLocal(the); |
| 1126 | fxListGlobal(the); |
| 1127 | fxListModules(the); |
| 1128 | fxEchoStop(the); |
| 1129 | break; |
| 1130 | case XS_SET_ALL_BREAKPOINTS_TAG: |
| 1131 | break; |
| 1132 | case XS_SET_BREAKPOINT_TAG: |
| 1133 | fxSetBreakpoint(the, the->pathValue, the->lineValue, the->idValue); |
| 1134 | break; |
| 1135 | case XS_START_PROFILING_TAG: |
| 1136 | fxStartProfiling(the); |
| 1137 | break; |
| 1138 | case XS_STEP_TAG: |
| 1139 | fxStep(the); |
| 1140 | break; |
| 1141 | case XS_STEP_INSIDE_TAG: |
| 1142 | fxStepInside(the); |
| 1143 | break; |
no test coverage detected