AnsweredAssumed Answered


Question asked by Ray Hall on Aug 28, 2013
Latest reply on Sep 2, 2013 by Radek Sestak

When I run my project in the debugger by selecting the start button (F5), it stops running immediately and I get ILLEGAL_BP in the command window. After some testing I found any code outside the main loop executes as expected. As soon as it gets to the for(;;)  statement it stops. I have tried it with code in the for(;;) statement and without code. Makes no difference.


This is my main function.


void main(void) {

  /* put your own code here */




  for(;;) {


    _FEED_COP(); /* feeds the dog */

  } /* loop forever */

  /* please make sure that you never leave main */



What is ILLEGAL_BP. To me this is "Illegal Break Point" Correct ?