Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我有以下代码,
Variable.Method1().Method2();
我想在 Method1() 之后和 Method2() 之前设置断点。我可以在视觉工作室这样做吗?怎么做?谢谢。
那是行不通的,但这会:
var result1 = Variable.Method1(); result1.Method2(); //set breakpoint here
否则,在 Method2 的第一行代码处设置断点,然后您可以继续使用该行代码。