in reply to How can I debug perl-xs code?

If the C function isn't built with symbolic debuging information (i.e. gcc's -g flag) you're not going to have much luck. But if you are trying to find a problem in your perl or XS code, you shouldn't need to debug into the C-function itself??