I am debugging an old application writeen in VB6. I am getting this compile error after doing a lot of debugging. Is there a way to stop these type of errors or should I do the manual process of dividing the big procedure into smaller ones.