add debug to transactResObject()
authorKlaus Kaempf <kkaempf@suse.de>
Tue, 7 Mar 2006 12:39:34 +0000 (12:39 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Tue, 7 Mar 2006 12:39:34 +0000 (12:39 +0000)
zypp/solver/detail/Resolver.cc

index b75d5bf2dabce0a5881333bc6671a7bcf2ab916d..4d13d5c8f586b8131b3ae5f3a3b70b552105b484 100644 (file)
@@ -836,6 +836,11 @@ transactCaps( const ResPool & pool, const CapSet & caps, bool install, bool soft
 bool
 Resolver::transactResObject( ResObject::constPtr robj, bool install)
 {
+    if (robj == NULL) {
+       ERR << "NULL ResObject" << endl;
+    }
+    DBG << "transactResObject(" << *robj << ", " << (install?"install":"remove") << ")" << endl;
+
     transactCaps( _pool, robj->dep( Dep::RECOMMENDS ), install, true );
     return transactCaps( _pool, robj->dep( Dep::REQUIRES ), install, false );
 }