code debugging for LPC2138 ARM

I am moving around freertos tests for LPC2138. I already found, that the compilation should be done for thumb/flash/debug mode. And now the problem appears: how many breakpoint can I set. As I heard there is a hardware breakpoint limit to 2

code debugging for LPC2138 ARM

This is a limitation of the architecture.  If you code is small enough you can run programs in RAM and have more break points.