[69731] branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl

and.damore at macports.org and.damore at macports.org
Wed Jul 14 13:52:38 PDT 2010


Revision: 69731
          http://trac.macports.org/changeset/69731
Author:   and.damore at macports.org
Date:     2010-07-14 13:52:38 -0700 (Wed, 14 Jul 2010)
Log Message:
-----------
added traces for portimage namespace

Modified Paths:
--------------
    branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl

Modified: branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl
===================================================================
--- branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl	2010-07-14 20:43:52 UTC (rev 69730)
+++ branches/gsoc10-configfiles/base/src/registry2.0/portimage.tcl	2010-07-14 20:52:38 UTC (rev 69731)
@@ -745,5 +745,15 @@
     }
 }
 
+proc gsocdebug {command-string op} {puts "GSOCBDBG: ${command-string}" }
+#the following 2 traces breaks macports at activate/deactivate phase, let's keep them commented
+#trace add execution ::portimage::activate enter gsocdebug
+#trace add execution ::portimage::deactivate enter gsocdebug
+trace add execution ::portimage::_check_registry enter gsocdebug
+trace add execution ::portimage::_check_contents enter gsocdebug
+trace add execution ::portimage::_activate_file enter gsocdebug
+trace add execution ::portimage::_activate_contents enter gsocdebug
+trace add execution ::portimage::_deactivate_file enter gsocdebug
+trace add execution ::portimage::_deactivate_contents enter gsocdebug
 # End of portimage namespace
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100714/60519924/attachment.html>


More information about the macports-changes mailing list