This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

not able to debug



I failed to use the debugger

and the console tag says:

•ComPort: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x7e0: **Error**: Serial Communication failed at port: COM3, baud rate:9600!   To use serial monitor, please ensure the following prerequisites are satisfied:  1.Make sure the cable is plugged into both the target and the host on the right COM port.  2.Make sure a compatible target side serial monitor is loaded and running on the target device.
•ComPort: GEL: File: E:\Users\ADMIN\workspace_v5_5\lab3_2\Debug\lab3_2.out: Load failed.
I've seen other responses and they recommend to use "LM Flash Programmer" but by doing that, I would not be able to debug. 
Is their any solution or similar cases?