1: How to use
1: Click to download:. NET Visual Debugging Tools
2: Extract rar after execution: CYQ.VisualierSetup.exe Successful After closing the prompt window can be.
PS: Run one time, support each VS version, improve the efficiency of debugging for life, and no side effects.
2: Open source and subsequent upgrade address:
Open Source Address: http://code.taobao.org/svn/cyqopen/trunk/CYQ.Visualizer/
Subsequent upgrades get address: Https://github.com/cyq1162/cyqdata in the document directory.
3: Function Introduction 1: Support string JSON to go to table view:
650) this.width=650; "src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161103161744627-1666873114.jpg "/>
2: Support NameValueCollection (Request.Form, Request.QueryString), HttpCookieCollection (request.cookies) Form to view Cookies:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161103162908893-167558614.jpg "/>
Request.Form, Request.QueryString
650) this.width=650; "src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161103163309752-1636959613.jpg "/>
3: Others are not, and the following types are supported:
1:system.drawing.image: (This turn picture view)
2:mdatatable series: Table, row, column, structure
3:datatable series: Table, row, column, structure
4: Generic series:dictionary<,>, linkedlist<>, list<>, queue<>, sorteddictionary<,>, SortedList <,>, stack<>
5: Non-generic series: ArrayList, Hashtable, Queue, SortedList, Stack
6: Other inherited from: type of Enumerable interface: (Too many types, no time one by one test)
BitArray, ReadOnlyCollectionBase, HybridDictionary, ListDictionary, StringCollection, StringDictionary, Basecollection, etc.
4: Research Process
About visual debugging this piece of content, on-line search, the relevant information is all my own previously sent articles, sad urge on a word ....
There seems to be no one to study this piece, fortunately, the sky is not a conscientious, or I break through .....
The process of being able to come up with such a simple tool is:
1: Once released simple tutorial: Custom visual Debugging tool (Microsoft.VisualStudio.DebuggerVisualizers)
2: Collection of different vs versions of DLLs (Microsoft.VisualStudio.DebuggerVisualizers.dll).
3: wrote a tool, bulk copy: Open source Publishing: vs Code snippet Shortcuts and visual debugging Quick Deploy tool
4: Think of copying multiple project files to implement multiple VS Version codec Yi (if you can't think of this, it's not going to be a toss):
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161103165228674-121127696.jpg "/>
5: Solve serialization problems (to support various types on a large scale):
By default, a class that does not support serialization does not support visualization, so it is not possible to support a DataRow view, which throws an exception directly.
In order to solve this problem, the Internet search (related information, the domestic basic is my own article, the foreign finally found an article).
Through the study, finally solved the problem:
public class EnumerableVisualizerObjectSource : VisualizerObjectSource { public override void getdata ( Object target, system.io.stream outgoingdata) { if (target is NameObjectCollectionBase) { target = Mdatatable.createfrom (target as nameobjectcollectionbase); } else { &nBsp; target = mdatatable.createfrom (target as ienumerable); } base. GetData (target, outgoingdata); } }
Custom data sources, when setting up the data source, convert the object to Mdatatable, and then the mdatatable to the series past.
6:mdatatable to support and a large number of types of conversion work (these years of work has been done a lot, only need to complement the full can).
Summarize:
When the previous article was published, there were netizens who could not understand what to do, a sigh ~ ~ ~ Word.
This time, under all the conditions, spent a day of research, directly written in the tool to share to you.
And you just download, then double-click, you have to have a good debugging experience!
In the process of debugging, you can easily view the variables of all the data!!!
Mom never have to worry about your debugging ability anymore ~ ~ ~
Don't ask me the reason ~ ~ ~ I am not lei Feng Tower Thunder ~ ~ ~
This article is from "Passing Autumn" blog, please be sure to keep this source http://cyq1162.blog.51cto.com/2127378/1869148
Release:. NET developer must-have visual debugging tools (ownership of your value)