validate: Added debug info

This commit is contained in:
Paul Beckingham 2016-07-10 13:08:49 -04:00
parent 9a63db6c60
commit 5528ce8358

View file

@ -102,13 +102,13 @@ static void autoAdjust (
{
if (interval.range.overlap (track.range))
{
debug ("Input " + interval.dump ());
debug ("Overlaps with " + track.dump ());
if (! adjust)
throw std::string ("You cannot overlap intervals. Adjust the start/end "
"time, or specify the :adjust hint.");
std::cout << "# Overlap new " << interval.dump () << "\n"
<< "# existing " << track.dump () << "\n";
if (interval.range.start <= track.range.start)
{
// interval [--------)