s_m
s_m

Reputation: 129

Is it possible to debug Perl that contains XS sections to see the program flow?

I have a project written in Perl with XS components written in C++. I am debugging with command like

perl -d perl_file.pl

How I can use the debugger to jump from Perl into those C++ files?

Upvotes: 5

Views: 458

Answers (1)

Chankey Pathak
Chankey Pathak

Reputation: 21676

You could use GNU Project Debugger.

gdb /usr/bin/perl
    r perl_file.pl

See perlhacktips:

Also see:

Upvotes: 2

Related Questions