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

webmaster@zope.org webmaster@zope.org
Mon, 17 Mar 2003 16:22:28 -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

        % Anonymous User - Mar. 17, 2003 4:22 pm:
         It's ok now. - I'm not sure what my mistake was.