From 4ffc37f349871bc54373846ed9fc759f06c20294 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Mar 2016 19:03:10 -0400 Subject: Add missing client store debug dumps --- src/client/ClientStore.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/client') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 1061fb6b..12674981 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -209,6 +209,10 @@ ClientStore::add_plugin(SPtr pm) void ClientStore::del(const Raul::URI& uri) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client del " << uri << std::endl; +#endif + if (Node::uri_is_path(uri)) { remove_object(Node::uri_to_path(uri)); } else { @@ -230,6 +234,11 @@ ClientStore::copy(const Raul::URI& old_uri, void ClientStore::move(const Raul::Path& old_path, const Raul::Path& new_path) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client move " << old_path + << " => " << new_path << endl; +#endif + const iterator top = find(old_path); if (top != end()) { rename(top, new_path); @@ -510,6 +519,10 @@ void ClientStore::disconnect_all(const Raul::Path& parent_graph, const Raul::Path& path) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client disconnect all " << path << " in " << parent_graph << std::endl; +#endif + SPtr graph = dynamic_ptr_cast(_object(parent_graph)); SPtr object = _object(path); -- cgit v1.2.1