[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnump3d-devel] Debugging plugins
From: |
Steve Kemp |
Subject: |
Re: [Gnump3d-devel] Debugging plugins |
Date: |
Mon, 4 Jul 2005 06:11:13 +0100 |
User-agent: |
Mutt/1.5.9i |
On Sun, Jul 03, 2005 at 09:32:13AM -0700, Michael Rensing wrote:
> Is there a way to run playlist.pm so that I can test it without having
> to recompile and examine the html? It generates some trivial errors in
> html standards, and I'd like to be able to test a few things by adding
> some debugging printout lines.
You don't need to recompile, or even restart the server.
Each plugin is re-loaded from /usr/share.../plugins/ when
requested, so if you run `make install` you can edit the installed
copy and make changes "live".
If you put print statements in the code they'll end up in whatever
error logfile you've got setup, so simple examine that to see errors.
If that doesn't suffice you can also examine the loaded code
via the 'eval' call in bin/gnump3d2, but that'd be more effort
and would require restarting the server to see changes.
Steve