pijush has asked for the wisdom of the Perl Monks concerning the following question:
I am debugging a perl script on Linux OS which has a call to C-function from a .so file. I have tried to debug this script with perl -d option and also gdb perl . But when it enters in the C function from perl code then I failed to debug the code. It only shows an address. Is there any method so that I can start debug from perl script and debug the whole script, i.e., to debug "C" code also?
Any help really appreciated.
Thanks in advance.
Regards
-Pijush
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I debug perl-xs code?
by hawtin (Prior) on Feb 04, 2004 at 22:17 UTC | |
by EverLast (Scribe) on Feb 05, 2004 at 10:33 UTC | |
by flyingmoose (Priest) on Feb 04, 2004 at 23:33 UTC | |
by pijush (Scribe) on Feb 05, 2004 at 10:56 UTC | |
|
Re: How can I debug perl-xs code?
by borisz (Canon) on Feb 04, 2004 at 19:30 UTC | |
|
Re: How can I debug perl-xs code?
by ysth (Canon) on Feb 04, 2004 at 19:36 UTC |