How do I get this line to appear through the material
The endpoint (=green) where the line begins is under that wall and floor.
Try to be more precise when starting (zoom a little bit further in.
A little red square indicates a point on an edge, a blue dot represents a midpoint of the edge.
It suggests that the wall, midpoint, is lower than the Floor face that has been textured.