Can RLP be debugged?

How is the debugging of RLP typically performed? What techniques does one use to detect and fix problems in the C code?

I used the following to get started:

I suppose you could also use events to dump some debug data back to the managed side:

Someone should write a visual studio extension to step through RLP code.

I mean, how hard can it be? It’s all just bits…just moving bits around.