private void rewindTheLoopToTheEnd() throws BadCallException,
			MalformedCodeException {
		if (code[codePointer] != '[')
			throw new BadCallException("Nie ma '[' w miejscu startu",
					codePointer);
		// System.err.println("Wchodzę w pozycji: " + codePointer);
		int stack = 1;
		codePointer++;

		while (stack > 0) {
			while (code[codePointer] != '[' && code[codePointer] != ']') {
				// System.err.println("Pozycja: " + codePointer + ", char: " +
				// code[codePointer]);
				if (++codePointer >= code.length)
					throw new MalformedCodeException(
							"Nie wiem jakim cudem, ale pointer wyszedł poza kod",
							codePointer);
			}
			// System.err.println("Pozycja: " + codePointer + ", char: " +
			// code[codePointer]);
			switch (code[codePointer]) {
			case (byte) 0xcc:
				/*
				 * if (breakpointHandled.get() == false) return; else {
				 * breakpointHandled.set(true); }
				 */
				break;
			case '[':
				++stack;
				break;
			case ']':
				--stack;
				break;
			}
			codePointer++;
		}
		// System.err.println("Znak wyjścia: " + codePointer + ", char: " +
		// code[codePointer]);

	}