Confused about this simple Comparator Circuit Output Waveform
The OA does not work if the input is at V-.  There are limits to the common mode range.

This old part does not work to V- or Vee or below ground as some do.  Therefore connect -V = -0.5 or more.  

Or keep Vin+/-  >0.5V  &lt; Vcc-2