One possibility is that the standard output (via printf) is buffered, and you don't see the output because the data is still waiting in the output buffer. You could try adding fflush(stdout); after the last printf() statement in function decode_lcw().
If you still see nothing, then it is reasonable to conclude that that code is not being executed, presumably because the calling function itself is not executed. Or maybe because of some logical condition (if-else etc.) which you may have assumed is true, but isn't.