in reply to Re^2: How to use EPIC to remote debug perl code?
in thread How to use EPIC to remote debug perl code?

I have checked all of the result. Saddly I didn't find out anything useful.

Try reading http://www.epic-ide.org/guide/ch06s02.php#N10812, talks about zip file being generated or some such ... debuggers, lol

  • Comment on Re^3: How to use EPIC to remote debug perl code?

Replies are listed 'Best First'.
Re^4: How to use EPIC to remote debug perl code?
by lifang11 (Novice) on Nov 20, 2013 at 07:51 UTC

    I have solved the problem.

    Now,the debug process is too slow and consumes CPU too much.

    It needs 30~60 seconds to step to the next line, and the CPU on freeBSD goes to the first when using top.

    The breakpoint doesn't make the program stop also!

Re^4: How to use EPIC to remote debug perl code?
by lifang11 (Novice) on Nov 21, 2013 at 07:25 UTC

    Now I have solved the problem.It can remote debug now.

    But it is too slow taking 30~60S to execute one statement.

    Here is the config and errors.

    export PERLDB_OPTS="RemotePort=10.55.42.27:5000 frame=8 AutoTrace NonS +top=1 LineInfo=dddddd.txt"
    Can't use an undefined value as a symbol reference at /usr/data1/apach +e/home/lucky/local/perl/debug/epic/perl5db.pl line 5316. at /usr/data1/apache/home/lucky/local/perl/debug/epic/perl5db.pl line + 5316 DB::print_lineinfo() called at /usr/local/lib/perl5/5.8.8/mach +/IO/Socket.pm line 11 eval {...} called at /usr/local/lib/perl5/5.8.8/mach/IO/Socket +.pm line 11 require IO/Socket.pm called at /usr/data1/apache/home/lucky/lo +cal/perl/debug/epic/perl5db.pl line 6050 DB::connect_remoteport() called at /usr/data1/apache/home/luck +y/local/perl/debug/epic/perl5db.pl line 1480 require perl5db.pl called at hello.pl line 0 main::BEGIN() called at /usr/local/lib/perl5/5.8.8/mach/IO/Soc +ket.pm line 11 eval {...} called at /usr/local/lib/perl5/5.8.8/mach/IO/Socket +.pm line 11 BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/mach/I +O/Socket.pm line 11. at /usr/local/lib/perl5/5.8.8/mach/IO/Socket.pm line 11 require IO/Socket.pm called at /usr/data1/apache/home/lucky/lo +cal/perl/debug/epic/perl5db.pl line 6050 DB::connect_remoteport() called at /usr/data1/apache/home/luck +y/local/perl/debug/epic/perl5db.pl line 1480 require perl5db.pl called at hello.pl line 0 main::BEGIN() called at /usr/local/lib/perl5/5.8.8/mach/IO/Soc +ket.pm line 11 eval {...} called at /usr/local/lib/perl5/5.8.8/mach/IO/Socket +.pm line 11 Compilation failed in require at /usr/data1/apache/home/lucky/local/pe +rl/debug/epic/perl5db.pl line 6050. Compilation failed in require. at hello.pl line 0 main::BEGIN() called at /usr/data1/apache/home/lucky/local/per +l/debug/epic/perl5db.pl line 0 eval {...} called at /usr/data1/apache/home/lucky/local/perl/d +ebug/epic/perl5db.pl line 0 BEGIN failed--compilation aborted. at hello.pl line 0