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.

ccs3.3设置断点问题



ccs3.3有些地方怎么不能设置断点?

像下面的程序:

void change(short * const ptr){
 if(abs(*ptr - (*ptr + 1)) > 2 && abs(*(ptr + 2) - *(ptr + 1)) > 2)
  *(ptr + 1) = (*ptr + *(ptr + 2))/2;
}

void Adjust_I_Value(short * const ptr)
{
 int board_count = *(char *)0x90030000/32;
 int i,j,k;
 for(i = 0; i < board_count; i++)
  for(j = 0; j < 32; j++)
   for(k = 0; k < 8; k++)
    //ptr:基址,9:跳过时间段,i*32:跳到相应的板,j:当前板的通道,k*(0x40 + (board_count - 1)*0x20):跳到相应的点
    change(ptr + 9 + i*32 + j + k*(0x40 + (board_count - 1)*0x20));//想设置断点的地方
}