Thanks ken,But GDB takes only executable files right.Now how do I give a
perl program( no seperate step for compilation, to form executable).
When I give run perlprg.pl in gdb,It says file not in exe format.hint me
pls.

-karthika.

On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

Well, perl is just a C program, and your inline code is just compiled C
code it's calling.  You can just use gdb on /usr/bin/perl (or wherever
it is) to find out what line of the embedded C code it's croaking on,
dump structs, etc.

-Ken

> -----Original Message-----
> From: Karthika Arunkumar [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 07, 2006 1:27 PM
> To: inline@perl.org
> Subject: debugger
>
> HI all,
>  I am using inline CPP in my perl program.
> I get a segmentation fault and I am not able to find from
> which line of code
> it occurs. Can anyone suggest me a debugger.
>
> thanks ,
> kararu.
>

Reply via email to