debugging info for solv
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 14 Dec 2006 02:57:20 +0000 (02:57 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 14 Dec 2006 02:57:20 +0000 (02:57 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1204 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/plugin_manager.cc

index d4c8e96ec4413a2ddd04f75ebbaf12c49737bb7d..0edf56698a4c52b8cad6cb9ea0f5ac268e413bd7 100644 (file)
@@ -340,6 +340,8 @@ PluginManager::add_vst_directory (string path)
 static bool vst_filter (const string& str, void *arg)
 {
        /* Not a dotfile, has a prefix before a period, suffix is "dll" */
+
+       cerr << "VST filter: looking at " << str << endl;
        
        return str[0] != '.' && (str.length() > 4 && str.find (".dll") == (str.length() - 4));
 }
@@ -356,8 +358,15 @@ PluginManager::vst_discover_from_path (string path)
 
        plugin_objects = scanner (vst_path, vst_filter, 0, true, true);
 
+       if (plugin_objects) {
+               cerr << "Discovered " << plugin_objects.size() << " possible plugins\n";
+       } else {
+               cerr << "No plugins discovered at all\n";
+       }
+
        if (plugin_objects) {
                for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
+                       cerr << "checking out " << **x << endl;
                        vst_discover (**x);
                }
        }