did you change the clocks or did you use sleep or hybernate?
This will / can disconnect the debug-session.
Hello Bob :
Thanks for you reply, I also think there are some problems about clock setting in my project, i had modified the clock under the USB clock settings guide,and there was no errors in building process,but when debuging the project ,the error appeared!
PS:An ADC conponent and a USB component are included in my project!
i haven't encountered such an issue before.
can you attach the project in which you were facing this issue?
Do you have a watchdog runnning?