This article is a mirror article of machine translation, please click here to jump to the original article.

View: 22880|Reply: 1

[Source] DebuggerStepThrough feature saves debugging time

[Copy link]
Posted on 3/9/2018 5:04:56 PM | | |
One of the annoying things when you're working on dubugs is that you have to go into something that only has some code (or properties). Let's say you have the following code:
  
  And you use this property when calling a method:
   
    When you debug this line of code, press F11 to enter the method, at which point you will have to go inside the property first and then press F11 to get inside the method.

    If you want to remove that extra step, you can replace the above code with the following style:
  
   This way, when you debug to DoSomething(obj. Word); When this line of code is made, the DebuggerStemThrough feature tells the debugger to go directly to the method without going into the property content.




Previous:Microsoft program code class certificate installation
Next:.net/c# documents time-consuming methods for programs
Posted on 3/12/2018 12:25:02 PM |
Isn't this more code?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com