i want to test if
statements directly, my problem is it's waiting so many long to test my if
statements in my code
. this is my code
:
byte isFive = _checkReadLengthIsFive;
if (readLength == 5)
{
isFive++;
_checkReadLengthIsFive = isFive;
if (isFive == 2)
{
string appendText = "WRITE FAIL" + Environment.NewLine;
File.AppendAllText(Fullpath, appendText);
DisplayData(MessageType.Incoming, "DAPAT!" + "\n");
}
}
to reach in this if
statement, i waiting so long because readLength = 5
is rarely happening. Is it possible to use immediate window? if possible please tell me how? thanks for helping and responses.