debugging using keil IDE

sirs,
i am able to debug hardware initialization and can_send in the IDE without the hardware.
similarly can we debug can_wait function which is used for reception of the data?
i am not getting the output for this in the IDE.
plz help

More questions in this forum