Reasking about hitting breakpoint at property setter

泄露秘密 提交于 2019-11-28 01:43:41

Just set the breakpoint for the property name (without parameter and parentheses)

RecordCompetitionTitleBuilderIndividual.set_EventData

Just checked for VS2010

You can actually use IL Disassembler to find the name of the setter and getter methods to set debugger on by pressing Ctrl+B.

There are also some VS plugins that can help you make this task easier by integrating it into VS, such as Oz Code, just inspect the object instance and click on the wand thingie to set conditional breakpoint on property set:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!