[system] / branches / rel-2-4-patches / webwork-modperl / lib / WeBWorK / Debug.pm Repository:
ViewVC logotype

Log of /branches/rel-2-4-patches/webwork-modperl/lib/WeBWorK/Debug.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 5734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 24 00:44:59 2008 UTC (4 years, 11 months ago) by
File length: 3385 byte(s)
Diff to previous 5318
This commit was manufactured by cvs2svn to create branch 'rel-2-4-patches'.

Revision 5318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 22:53:51 2007 UTC (5 years, 10 months ago) by sh002i
Original Path: branches/rel-2-4-dev/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3385 byte(s)
Diff to previous 5243
updated copyright dates

Revision 5243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 7 22:35:14 2007 UTC (5 years, 10 months ago) by
Original Path: branches/rel-2-4-dev/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3384 byte(s)
Diff to previous 4179
This commit was manufactured by cvs2svn to create branch 'rel-2-4-dev'.

Revision 4179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:20:39 2006 UTC (6 years, 11 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3384 byte(s)
Diff to previous 4135
change order of use statements compulsively

Revision 4135 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 19 15:39:51 2006 UTC (7 years ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3384 byte(s)
Diff to previous 4050
Added HTTP-Basic authenticator for WeBWorK:

AuthenWeBWorK.pm - steals $ce/$authz/$db/$authen bootstrapping code from
the dispatcher, overrides Authen's get_credentials method (and clobbers
cookie methods and set_params)

Debug.pm - load WeBWorK::Contsants explicitly in case it isn't already
loaded

Authen.pm - added maybe_kill_cookie shim (so that it can be overridden
elsewhere)

Configure as follows:

<Location /some_protected_location>
 AuthName "My Protected Location"
 AuthType Basic
 PerlAuthenHandler Apache::AuthenWeBWorK
 PerlSetVar authen_webwork_root /path/to/webwork2
 PerlSetVar authen_webwork_course some_course_id
 require valid-user
</Location>

Revision 4050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 18:54:39 2006 UTC (7 years, 2 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3360 byte(s)
Diff to previous 3973
Use undefstr to convert undefined values to the string "###UNDEF###". If
you think a value you're sending to debug() might be undefiend, send it
as a separate item in the argument list rather than concatenating it or
interpolating it into a string. For example, say:

	debug("now myVal=", $myVal, ", exiting");

If $myVal is undefined, you'll see:

	now myVal=###UNDEF###, exiting

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3302 byte(s)
Diff to previous 3486
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)

Revision 3486 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 15:53:02 2005 UTC (7 years, 10 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3302 byte(s)
Diff to previous 3485
renamed weird $QuellSubroutineOutput to $DenySubroutineOutput. This will
better match $AllowSubroutineOutput.

Revision 3485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 02:47:30 2005 UTC (7 years, 10 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3302 byte(s)
Diff to previous 2871
added HiRes timing data to WeBWorK::Debug, removed WeBWorK::Timing. all
existing calls to the WeBWorK::Timing methods now pass the same messages
to debug().

added an option to WeBWorK::Debug to allow only certain subroutines to
log debug messages, in addition to the existing option to bar certain
subroutines from doing so.

Revision 2871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 8 18:30:32 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 3002 byte(s)
Diff to previous 2861
Timestamps seem to need Date::Format for time2str to be defined.

Revision 2861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 21:01:46 2004 UTC (8 years, 8 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 2986 byte(s)
Diff to previous 2372
Added time stamp to the warning
Added time stamp to warning messages.

Revision 2372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 23 19:19:02 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 2903 byte(s)
Diff to previous 2367
added QuellSubroutineOutput to WeBWorK::Debug

Revision 2367 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jun 23 00:37:18 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/Debug.pm
File length: 2668 byte(s)
This module provides the function debug(). It conveniently writes
debugging output to STDERR or a logfile (if the $Logfile constant is
non-empty). It can be turned on and off with the $Enabled constnat.

This module should be used in place of warn() for any debugging output.
warn() should only be used for non-fatal errors that we want the user to
see, not informational status messages.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9