[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Testing and Debugging

webmaster@zope.org webmaster@zope.org
Tue, 11 Mar 2003 05:31:50 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx#3-2

---------------

      Profiling uses the standard Python profiler.  This is turned on
      by setting the 'PROFILE_PUBLISHER' environment variable before
      executing Zope.

        % Anonymous User - Mar. 11, 2003 5:31 am:
         It doesn't work for me :(
         In ZOPE_HOME/start i set 
         export PROFILE_PUBLISHER="/usr/local/zope/profile.out"
         exec /usr/local/bin/python $cwd/z2.py -D -u flo "$@"
         but i don't get any change in the profiling tab