show error message when break code is generated
tmp
implement new find loop method
use LoopFinder to find loop