Can't get it running

Jun 11, 2013 at 11:09 AM
Edited Jun 11, 2013 at 11:20 AM
I start testing your Visualizer, but I can't get it running at all.

I can see new Visualizer for an string variable.
But when I want to view an datatable or an dataset I only the the default one.

Any idea?

Regards
Carsten

Edit: Sorry I didn't see, there a 2 downloads. Now I see the new options but I get an error:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.RemoteObjectSourceException: Der Typ 'System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' implementiert nicht die IXmlSerializable-Schnittstelle, weshalb die Serialisierung nicht fortgesetzt werden kann. ---> System.InvalidOperationException: Der Typ 'System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' implementiert nicht die IXmlSerializable-Schnittstelle, weshalb die Serialisierung nicht fortgesetzt werden kann.
bei System.Data.XmlDataTreeWriter.XmlDataRowWriter(DataRow row, String encodedTableName)
bei System.Data.XmlDataTreeWriter.SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder)
bei System.Data.NewDiffgramGen.Save(XmlWriter xmlw, DataTable table)
bei System.Data.DataSet.GetRemotingDiffGram(DataTable table)
bei System.Data.DataTable.SerializeDataTable(SerializationInfo info, StreamingContext context, Boolean isSingleTable, SerializationFormat remotingFormat)
bei System.Data.DataTable.GetObjectData(SerializationInfo info, StreamingContext context)
bei System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
bei System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
bei System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
bei System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
bei System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
bei Microsoft.VisualStudio.DebuggerVisualizers.VisualizerObjectSource.Serialize(Stream serializationStream, Object target)
bei Microsoft.VisualStudio.DebuggerVisualizers.VisualizerObjectSource.GetData(Object target, Stream outgoingData)
bei Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.VisualizerObjectSourceHolder.GetData(Object target, Stream s)
bei Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.DebugeeHost.GetInitialData(VisualizerObjectSourceHolder sourceHolder, Object input)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.PrivateCallback.MaybeDeserializeAndThrowException(Byte[] data)
bei Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.PrivateCallback.Microsoft.VisualStudio.DebuggerVisualizers.IVisualizerObjectProvider.GetObject()
bei FR.DataVisualizer.DTVisualizer.Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
bei Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.ManagedShim.DelegatedHost.CreateViewer(IntPtr hwnd, HostServicesHelper hsh, SafeProxyWrapper proxy)
Jun 11, 2013 at 12:12 PM
I do an other Test in an less complex solution. Here every thing is fine....
Coordinator
Jun 11, 2013 at 8:19 PM
Maybe a type inside the object that isn't serializable?

What type of object are you trying to visualize, a datarow, datatable?
Are any images inside that object?
What type of system are you using, the .net version and visual studio?

Hope to help.
Jun 11, 2013 at 8:30 PM
Hi,

I try to view into an datatable only with numbers and Strings.
No Images.

I use Visual Studio 2012 and FW40

In the same project, there are tables, I can view, and other not. But all only Numbers and strings.

cu
Carsten
May 22, 2014 at 9:43 AM
Hi,

after nearly one year using this AddOn I resume I'm very happy with this AddOn, BUT
  • if deleted rows in my datatable the visualizer crash (I can only view after dt.acceptchanges)
  • I can view datatable incl. images (I like to see the table, but I didn't need to see the image)
  • I like to see DBNULL cell with backcolor gray (or other) to indicate it's not '' it's DBNULL or NOTHING
Yes I know it's open source ;)
But my C# is like my english, BAD
Coordinator
May 23, 2014 at 7:55 PM
Hello,

I'm glad to see that this project is helping you.

I will see the problems you're reporting and try to fix them.
Thanks