var t = new Stopwatch();
t.Start();
- Console.WriteLine("snapshot started");
+ Debug.WriteLine("snapshot started");
ImageInfo info = new ImageInfo(Width * chunkSize, Height * chunkSize, 8, false);
PngWriter snapWriter = FileHelper.CreatePngWriter(fileName, info, true);
}
catch (Exception)
{
- Console.WriteLine("Snapshot exception!");
+ Debug.WriteLine("Snapshot exception!");
}
- Console.WriteLine($"snapshot finished in {t.ElapsedMilliseconds}");
+ Debug.WriteLine($"snapshot finished in {t.ElapsedMilliseconds}");
}
private async Task<Dictionary<int, byte[][]>> ReadAllInGroup(IGrouping<int, ColumnMeta> group)
}
catch (Exception e)
{
- Console.WriteLine(e.Message);
+ Debug.WriteLine(e.Message);
return null;
} // do nothing on error
}