| 1017 | } |
| 1018 | |
| 1019 | void fxDebugPopTag(txMachine* the) |
| 1020 | { |
| 1021 | switch (the->debugTag) { |
| 1022 | case XS_ABORT_TAG: |
| 1023 | the->debugExit |= 2; |
| 1024 | break; |
| 1025 | case XS_BREAKPOINT_TAG: |
| 1026 | mxPop(); |
| 1027 | break; |
| 1028 | case XS_BREAKPOINT_CONDITION_TAG: |
| 1029 | break; |
| 1030 | case XS_BREAKPOINT_HIT_COUNT_TAG: |
| 1031 | break; |
| 1032 | case XS_BREAKPOINT_TRACE_TAG: |
| 1033 | break; |
| 1034 | case XS_CLEAR_ALL_BREAKPOINTS_TAG: |
| 1035 | the->debugExit |= 1; |
| 1036 | break; |
| 1037 | case XS_CLEAR_BREAKPOINTS_TAG: |
| 1038 | the->debugExit |= 1; |
| 1039 | break; |
| 1040 | case XS_EVAL_TAG: |
| 1041 | break; |
| 1042 | case XS_GO_TAG: |
| 1043 | the->debugExit |= 2; |
| 1044 | break; |
| 1045 | case XS_LOGOUT_TAG: |
| 1046 | the->debugExit |= 2; |
| 1047 | break; |
| 1048 | case XS_SELECT_TAG: |
| 1049 | break; |
| 1050 | case XS_SET_ALL_BREAKPOINTS_TAG: |
| 1051 | the->debugExit |= 1; |
| 1052 | break; |
| 1053 | case XS_SET_BREAKPOINT_TAG: |
| 1054 | mxPop(); |
| 1055 | the->debugExit |= 1; |
| 1056 | break; |
| 1057 | case XS_START_PROFILING_TAG: |
| 1058 | the->debugExit |= 1; |
| 1059 | break; |
| 1060 | case XS_STEP_TAG: |
| 1061 | the->debugExit |= 2; |
| 1062 | break; |
| 1063 | case XS_STEP_INSIDE_TAG: |
| 1064 | the->debugExit |= 2; |
| 1065 | break; |
| 1066 | case XS_STEP_OUTSIDE_TAG: |
| 1067 | the->debugExit |= 2; |
| 1068 | break; |
| 1069 | case XS_STOP_PROFILING_TAG: |
| 1070 | the->debugExit |= 1; |
| 1071 | break; |
| 1072 | case XS_TOGGLE_TAG: |
| 1073 | break; |
| 1074 | #if MODDEF_XS_XSBUG_HOOKS |
| 1075 | case XS_IMPORT_TAG: |
| 1076 | the->debugExit |= 2; |