| Previous · Next | |
| User | Message |
|
TheSeparator
|
Date: 6/15/2009 2:08 am · Subject: Recommended Development Environment · Rating: 0
In the next months I intend to create Workflow Activities and possibly more. Before I start my work, could you please recommend some development tools and strategies. Coming from Windows, I am primarily looking for a debugger and options for remotely creating/updating my work to a CentOS WebGUI site. Looking forward to your experiences. Best Regards, TheSeparator |
| Back to Top |
Rate [ | ]
|
|
dapperedodo
|
Date: 6/15/2009 10:24 am · Subject: Re: Recommended Development Environment · Rating: 1
I use Komodo now for WebGUI development. It is paid software, but very friendly to set up. It has a perl debugger inside and works on Windows, Mac an Linux. I also have some experience with Eclipse. Eclipse is free and works very good.... when you manage to configure it right (that took some time). At last there is always the good old VI (or whatever text editor with code highlighting) and commandline perl.
Joeri de Bruin
|
| Back to Top |
Rate [ | ]
|
|
TheSeparator
|
Date: 6/15/2009 2:16 pm · Subject: Re: Recommended Development Environment · Rating: 0
Hallo Joeri, Thank you for your advice. As I already used Komodo before, I installed the "Remote Debugging" package on the WebGUI server. I can now succesfully debug normal .pl code remotely from the Windows machine. Connecting to WebGUI files is probably something else. Instructions from ActiveState include modifications to the httpd.conf file, but this part of the Apache server is heavily customized for WebGUI. As said in the initial post, it currently concerns a .pm package containing a very simple Workflow Activity. The package has been installed, assigned to a Workflow and the scheduler runs the Workflow without reporting problems. Debugging code running under mod_perl/WebGUI is very different from debugging "plan vanilla" Perl. Can you confirm from your experience that it is feasible to debug the Perl code that I wrote/installed under WebGUI ? Thank you for your time, TheSeparator
|
| Back to Top |
Rate [ | ]
|
|
dapperedodo
|
Date: 6/16/2009 12:20 am · Subject: Re: Recommended Development Environment · Rating: 1
For debugging I use the build in errorhandler from WebGUI. In the code I use: $session->errorHandler->warn('###'.$varIWantToTrack); This will show up in the /data/wre/var/logs/webgui.log. (If you have 'log4perl.logger = WARN, mainlog' in your '/data/WebGUI/etc/log.conf'). I use the '###' to highlight my debugging code from other warnings, no magic about that.
Joeri de Bruin
|
| Back to Top |
Rate [ | ]
|
|
TheSeparator
|
Date: 6/16/2009 12:14 pm · Subject: Re: Recommended Development Environment · Rating: 0
This all works nicely now. I can see the values and messages in the log. I have the API browser going, the Apache2::Reload instruction in the .conf, interesting times ahead. Meanwhile I have ordered the dev book from PlainBlack, hope it will arrive soon.
TheSeparator
|
| Back to Top |
Rate [ | ]
|