Stepping problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Andrew24 on Fri Mar 26 09:15:42 MST 2010
HI. I've bought LPC1343 eval board recently, and already gained some experience writing projects including ADC, timers etc..
but can't undestand simple thing:
When i try to step through these lines using F5 or F6, the IDE freezes. Why? (If there is more complex code in the while loop, then everything's ok)

int main(void) {

volatile unsigned int i = 0 ;
while(1) {
  i++ ;
return 0 ;