On Thu, 6 May 2004 16:12:16 +0000, <[EMAIL PROTECTED]> wrote:
James Moore claimed to have gotten it right: http://groups.google.ch/groups?q=emacs+mod_perl&hl=en&lr=lang_en|lang_de&ie=UTF-8&oe=UTF-8&selm=1051404465.5094 +85%40yasure&rnum=1
It partially works for me. The last part doesn't:James Moore wrote:
Not elegant, but it does get you full functionality (or at least the only
bit I cared about, the => pointer into your code buffer for the current line
of execution).
His method ruins it if you want to run the debugger w/o emacs. Here's a modification that gets around that problem:
in the Apache/perl5db.pl file add the line:
$slave_editor ||= $ENV{SLAVE_EMACS};
right after the assignment to $slave_editor.
Then in your httpd.conf add the line: PerlPassEnv SLAVE_EMACS
And in the script you pass to emacs when it says Run perldb (like this):
SLAVE_EMACS=1 exec httpd -X -DPERLDB
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html