简体   繁体   中英

When debugging using Visual Studio 2010 C#, how to avoid stepping into common functions?

There is a guide in google, but it is poorly described. http://www.cprogramming.com/debugging/visual-studio-msvc-debugging-NoStepInto.html

Could the DebuggerStepThroughAttribute be what you are looking for?

using System.Diagnostics;
class Foo
{
    [DebuggerStepThrough]
    int Bar()
    {
        return 10;
    }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM