Nelson,
Is it possible that menu has been corrupted?
Also try just adding your main.prg to a new project and build.
>Hi, guys. Could anyone tell me why the program freezes during rebuilding of the project? It hangs when it is processing one of the menu screen.