It happens many times, while performing an experiment the IC output is not correct. So how to troubleshoot a problem. In my experience i perform the following steps while hunting for the troubled area of my circuit layout. Consider the case of optocoupler 6N137. Somehow the output was a continuous straight line at biasing voltage level when given a 100kHz signal. Here is how i solved the issue.