chuckd has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone give me advice on debugging a module with C in it? The module is text::scan. I usually use Komodo IDE to write and debug scripts and this one doesn't allow me to step in and step through the code. Is there a way I can step in and step through it????? I want to be able to understand what its doing. Can anyone give me any advice?

Replies are listed 'Best First'.
Re: how do I debug a module w/ c
by Tanktalus (Canon) on Aug 27, 2008 at 04:14 UTC

    How do you normally debug C code? Same answer here. If you don't know how yet, check with your compiler - they generally come with a debugger. Since you didn't specify a platform, I can't tell for sure, though I'll mention that if it's Linux, gcc's debugger is called gdb. Read the man/info page for more help.

    A reply falls below the community's threshold of quality. You may see it by logging in.