| 1062 | VAR BOOLEAN iiDebugMarker=TRUE; |
| 1063 | #define BREAK_LINE_LENGTH 80 |
| 1064 | void iiDebug() |
| 1065 | { |
| 1066 | #ifdef HAVE_SDB |
| 1067 | sdb_flags=1; |
| 1068 | #endif |
| 1069 | Print("\n-- break point in %s --\n",VoiceName()); |
| 1070 | if (iiDebugMarker) VoiceBackTrack(); |
| 1071 | char * s; |
| 1072 | iiDebugMarker=FALSE; |
| 1073 | s = (char *)omAlloc(BREAK_LINE_LENGTH+4); |
| 1074 | loop |
| 1075 | { |
| 1076 | memset(s,0,BREAK_LINE_LENGTH+4); |
| 1077 | fe_fgets_stdin("",s,BREAK_LINE_LENGTH); |
| 1078 | if (s[BREAK_LINE_LENGTH-1]!='\0') |
| 1079 | { |
| 1080 | Print("line too long, max is %d chars\n",BREAK_LINE_LENGTH); |
| 1081 | } |
| 1082 | else |
| 1083 | break; |
| 1084 | } |
| 1085 | if (*s=='\n') |
| 1086 | { |
| 1087 | iiDebugMarker=TRUE; |
no test coverage detected