So set a breakpoint after that.... you just need to see what is being evaluated in your if statement....I tried this method, but in order to do that, I have to comment out the USART_Receive function and define a value for 'info'. If I don't do that, the compiler will wait at code
info = USART_Receive();
function in order to assign data to 'info'.