Add a print string and draw the linetrace:
And check if the linetrace is doing its job in intercepting the inner boundary: