# HG changeset patch # User cin # Date 1477297485 -10800 # Node ID cbb0bd8fc0d1b2e31948788198811cdf517b2fbb # Parent 4d9830a9bbb837a3301c2b2b4072bfaef1ae62f5 Fixed broken Implab.Diagnostics.Interactive diff -r 4d9830a9bbb8 -r cbb0bd8fc0d1 Implab.Diagnostics.Interactive/InteractiveListener.cs --- a/Implab.Diagnostics.Interactive/InteractiveListener.cs Tue Oct 18 17:49:54 2016 +0300 +++ b/Implab.Diagnostics.Interactive/InteractiveListener.cs Mon Oct 24 11:24:45 2016 +0300 @@ -112,7 +112,7 @@ Indent = args.Operation.Level, Message = entry.ToString(), Thread = args.ThreadId, - Channel = args.ChannelName, + Channel = args.Channel.ToString(), Timestamp = Environment.TickCount }; diff -r 4d9830a9bbb8 -r cbb0bd8fc0d1 Implab.Diagnostics.Interactive/TraceForm.cs --- a/Implab.Diagnostics.Interactive/TraceForm.cs Tue Oct 18 17:49:54 2016 +0300 +++ b/Implab.Diagnostics.Interactive/TraceForm.cs Mon Oct 24 11:24:45 2016 +0300 @@ -31,7 +31,8 @@ public void AddTraceEvent(TraceViewItem item) { traceViewItemBindingSource.Add(item); - eventsDataGrid.FirstDisplayedScrollingRowIndex = eventsDataGrid.RowCount - 1; + if(eventsDataGrid.RowCount > 0) + eventsDataGrid.FirstDisplayedScrollingRowIndex = eventsDataGrid.RowCount - 1; } Color GetThreadColor(int thread) {