25 tips for improving the efficiency of coding and debugging in Visual Studio

Source: Internet
Author: User

(This article also published in my public number "dotnet daily Essence article", Welcome to the right QR code to pay attention to. )

Preface: 工欲善其事 its prerequisite. Even if the hands have a sharp weapon, if you can master some of the use of tools, so that the tool more comfortable, then more multiplier.

Today not only to share this list of tips and tricks of the article, but also in passing to introduce you to daily. NET Tips this site. This site focuses on giving. NET developers to share tips and tricks, and to use some useful snippets of code in their daily development.

Today's tips for sharing involve coding and debugging in two ways. The coding aspect is:

    1. Configured to put "System" in the first place in VS's "using sort" option
    2. How to efficiently track miscellaneous files in VS
    3. Set up Azure site when creating a Web site in vs 2013
    4. VS to run Web applications in multiple browsers at the same time
    5. VS 2013 automatically delete redundant and sort using statements when saving
    6. Options for easy access to code lens in VS 2013
    7. Compare duplicate code in VS
    8. Console.WriteLine or "CW", which one do you prefer?
    9. The opposite code fragment "Forr" for the "for" loop statement
    10. How to select a section of code in VS
    11. How to get the VS add-on process when debugging
    12. How to pass the command line arguments used by vs
    13. Installing the shared assembly to the GAC in the post-compilation event of VS
    14. Automatically display the Output window during vs build
    15. Use "Shift+enter" to automatically add ";" at the end of the line.

The debugging aspect is:

    1. Using the Debuggerhidden tag hiding method
    2. How to use Run-time objects in the Watch window during vs debugging
    3. How to stop the debugger after a certain number of breakpoint hits
    4. How to use DebuggerTypeProxy when debugging sensitive types
    5. How to use an object outside a range in a conditional breakpoint
    6. Use the monitoring window to get the garbage collection generation of objects
    7. To invoke a method from the monitoring window
    8. Debug Multi-threaded threads
    9. Use "Run to Cursor" to save time while debugging

"Read the original" is the address of this website.

Original address: http://dailydotnettips.com

25 tips for improving the efficiency of coding and debugging in Visual Studio

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.