RLP debugging

I’m assuming there isn’t any way to actually hit breakpoints and such in an RLP module coded in C. Does anyone have any debugging tips for figuring out what the thing is actually doing? I’ve noticed that when it fails, there is no exception, it just stops working. I’ve tried setting up printf statements but apparently trying to include stdio.h makes the module too big to include a NETMF program. Is there an option to get a stripped down library and if so to actually see printf statements? Or is the only method to return strings or ints from functions to see what is going on in there?

Please keep RLP related posts in the RLP specific board.

Debugging can be done using an IO or UART, the same old embedded debugging way