This
might seem silly to Unix people, but for me figuring out how/why external utilities like
RCS, .grep, and ls is tough on windows. Therefore, I would like to suggest the following enhancement to TWiki:
Add a DEBUGMODE flag to wiki.pm which will cause TWiki to return any text and/or error codes in an "oops" page if TWiki has an error when attempting to use any of the external utilities it depends on. Currently, (at least on Windows) it fails silently (like a search page that you KNOW has to return some info returning nothing, or
RCS showing the whole page as being new when it's not).
An idea of how this would look:
Oops - External Application Error
While attempting to
insert action here, TWiki encountered an error.
The external application
application name returned:
blah blah blah
--
DavidLeBlanc - 09 Mar 2001
This has been done for
RCS and is in Beta.
StanleyKnutson did the
BetterErrorHandlingOnTopicSave contribution. We could do something similar for other system commands.
--
PeterThoeny - 10 Mar 2001
Debugging perl
CGI scripts is easy with the Perl Tk Debugger ptkdb.
See
PerlPtkdb for details.
--
StefanScherer - 11 Mar 2001