Release: Visual debugging tools required by. NET developers (available for you) and. net debugging tools

Source: Internet
Author: User

Release: Visual debugging tools required by. NET developers (available for you) and. net debugging tools
1: How to Use

1: Click to download:. NET visual debugging tool

2. Unzip the RAR file and run CYQ.VisualierSetup.exe. Then, close the prompt window.

PS: one run, supporting various VS versions, improving debugging efficiency for life without any side effects.

2: Open Source and subsequent upgrade address:

Open Source Address: http://code.taobao.org/svn/cyqopen/trunk/CYQ.Visualizer/

Subsequent update get address: The https://github.com/cyq1162/cyqdata is under the document directory.

3: function Introduction 1: Support for viewing strings in Json format:

2: supports viewing Cookies in NameValueCollection (Request. Form, Request. QueryString) and HttpCookieCollection (Request. Cookies) tables:

Request. Form, Request. QueryString

3: Other types are not supported. The following types are also supported:

1: System. Drawing. Image: (you can view this Image)

2: MDataTable series: tables, rows, columns, and structures

3: DataTable series: tables, rows, columns, and structures

4: Generic series: Dictionary <,>, sorted List <>, List <>, Queue <>, SortedDictionary <,>, SortedList <,>, and Stack <>

5: Non-generic series: ArrayList, Hashtable, Queue, SortedList, and Stack

6: Other types inherited from: Enumerable interface: (too many types, one-to-one test not available)

BitArray, ReadOnlyCollectionBase, HybridDictionary, ListDictionary, StringCollection, StringDictionary, BaseCollection, etc.

4: study process

The content of visual debugging is searched on the Internet. The relevant information is all my previous articles. It is just a word of sorrow ....

It seems that no one has studied this part. Fortunately, the sky is still broken by me .....

The process of such a simple tool is as follows:

1: I have published a simple tutorial: Custom visual debugging tool (Microsoft. VisualStudio. DebuggerVisualizers)

2: collect different VS versions of DLL (Microsoft. VisualStudio. DebuggerVisualizers. dll ).

3: Write a tool, batch Copy: Open Source release: VS code segment shortcut and visual debugging quick deployment tool

4: I think of copying multiple project files to compile multiple VS versions (if I can't think of this, I guess it won't be a problem ):

5: solved the serialization problem (to support various types on a large scale ):

By default, classes that do not support serialization do not support visualization. Therefore, if you want to support DataRow viewing, an exception is thrown.

In order to solve this problem, I searched the internet (related information is basically my own article in China, and it is hard to find an article abroad ).

Through research, we finally solved this 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            {                target = MDataTable.CreateFrom(target as IEnumerable);            }            base.GetData(target, outgoingData);        }    }

Custom Data Sources: when setting the data source, convert the object to MDataTable, and then the MDataTable will go through the series.

6: MDataTable must support a large number of types of conversions. (You have completed a lot of work over the years. You only need to complete it ).

Summary:

When the previous article was published, some netizens still couldn't understand what it was ~~~ Word.

This time, it took a day to study under all the conditions of the collection and directly written it as a tool to share it with you.

You only need to download the file and double-click it again to enjoy a good debugging experience!

You can easily view all the data of variables during development and debugging !!!

Mom no longer needs to worry about your debugging capabilities ~~~

Don't ask me why ~~~ I am not a leader in reifeng ~~~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.