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

Just some improvement suggestions to an otherwise excellent method:

  1. The use of volatile decalaration for the loop guard will make the loop much more terse.
  2. Sticking in an odd call to sleep(1); will make your instrumented system much easier on your the rest of your OS.
Cheers, ---Lars