in reply to Debugging Inline C programs

I've been looking all over the man pages for some information on debugging C code from within Inline. I've been using if (DEBUG) lines all over tracking down my problem code... is there an easier way to do this? Can I (cross fingers) somehow use a debugger? If not, what have you guys done to make this task less painful?
Just a wild guess, and I really hope that someone more informed and more experienced than I am will give you more effective help: Inline C is known to "only" provide a convenient interface to XS programming. So does any document about XS give shed more light on the issue?