diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-04 15:55:08 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-04 15:55:08 +0000 |
commit | 93dac756a2ab7ec7b450d9d0ef5004755d3ef23d (patch) | |
tree | 8adf5d39191822fda7a3e3594ab0058a447e75e6 /libs/pbd/debug.cc | |
parent | 0e10f8a290588c4a58667cb667bc39d6466e3c1e (diff) |
prevent relaying during an undo/redo operation; remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@6728 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/debug.cc')
-rw-r--r-- | libs/pbd/debug.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc index f8abdcb488..318f85a099 100644 --- a/libs/pbd/debug.cc +++ b/libs/pbd/debug.cc @@ -40,7 +40,6 @@ PBD::new_debug_bit (const char* name) { uint64_t ret; _debug_bit_map.insert (make_pair (name, _debug_bit)); - cerr << "debug name " << name << " = " << _debug_bit << endl; ret = _debug_bit; _debug_bit <<= 1; return ret; @@ -83,7 +82,6 @@ PBD::parse_debug_options (const char* str) for (map<const char*,uint64_t>::iterator i = _debug_bit_map.begin(); i != _debug_bit_map.end(); ++i) { if (strncasecmp (p, i->first, strlen (p)) == 0) { - cerr << "debug args matched for " << p << " set bit " << i->second << endl; bits |= i->second; } } @@ -99,10 +97,10 @@ PBD::parse_debug_options (const char* str) void PBD::list_debug_options () { - cerr << _("The following debug options are available. Separate multipe options with commas.\nNames are case-insensitive and can be abbreviated.") << endl << endl; - cerr << "\tAll" << endl; + cout << _("The following debug options are available. Separate multipe options with commas.\nNames are case-insensitive and can be abbreviated.") << endl << endl; + cout << "\tAll" << endl; for (map<const char*,uint64_t>::iterator i = _debug_bit_map.begin(); i != _debug_bit_map.end(); ++i) { - cerr << "\t" << i->first << endl; + cout << "\t" << i->first << endl; } } |