[Koha-devel] Perl edit|debug

Fridolyn SOMERS fridolyn.somers at gmail.com
Tue Mar 29 09:38:52 CEST 2011


Hie,

We use Eclipse IDE with EPIC plugin.
It doen't contain debugger but a good syntaxe coloring.

Regards,

2011/3/28 Mike Hafen <mdhafen at tech.washk12.org>

> I have a shell script that sets certain environment variables then runs the
> perl debugger.  With that I can step through the script.
>
> I have to log in first, so that I have a valid session, and get the session
> id from the browser.
>
> Basically it's like this:
>
> #!/bin/bash
>
> export KOHA_CONF=/usr/local/koha/etc/koha-conf.xml
> export PERL5LIB=/usr/local/koha/lib
> export HTTP_COOKIE="CGISESSID=$1"
> export REMOTE_ADDR=127.0.0.1
>
> exec perl -d $2
>
>
> On Mon, Mar 28, 2011 at 10:21 AM, Paul <paul.a at aandc.org> wrote:
>
>> Koha 3.02.05.000 on Ubuntu 10.10
>>
>> Does anyone have a suggestion for a perl editor|debugger (or other method?
>> attach?) that allows stop lines and single-line step-by-step instructions?
>>
>> We need a fast way of following variables, objects and logic through
>> various .pl and .tmpl files - without having to read hundreds of lines of
>> code.
>>
>> Many thanks - Paul
>> tired old-sysadmin
>>
>> ---
>> Archives and Collections (ACS) Society
>> 205, Main Street, Picton, Ontario, K0K 2T0, Canada
>> http://www.AandC.org
>> Canadian Charitable Organization 88721 9921 RR0001
>> Dedicated to maritime conservation and education.
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>



-- 
Fridolyn SOMERS
ICT engineer
PROGILONE - Lyon - France
fridolyn.somers at gmail.com
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: </pipermail/koha-devel/attachments/20110329/e94773bd/attachment-0001.htm>


More information about the Koha-devel mailing list