"When I run my code in emulator mode" - emulator mode? Do you mean in a simulation? (simulation is not emulation!)
"it blocked!" - Care to elaborate?
"My code have used a lot of channels." - Channels of what?
"What's the problem?" - There is absolutely no way of us knowing. You haven't given us any code, warnings, error messages, anything.
"How to debug it?" - SignalTap could be useful. Check also for any warnings and fix them. Look through the RTL viewer and check all looks accurate. Probe any clock and input signals to your FPGA to make sure they are correct.