I am in the situation at the moment. I have compiled my application and deployed it - I am not debugging at the moment - and I restart the EMX. I end up with the halt. I reboot a couple of times - and usually by the third or fourth reboot I am running. This does not always happen.
I have a CAN connector that is currently down - but is terminated. COM2 is my debug. COM1 is connected as the UART port via the USB cable Joe recommended. USB is also connected for power and for communications. Finally I have wired Ethernet.
Here is my program class. It does not get any simpler.
public class Program
public static void Main()