0

A shortcut to add a breakpoint everywhere a particular field is being used

Umut Seven 3 years ago updated by Leo Omri Finkelstein 3 years ago 1

To give an example, imagine you have a field (not a property), that is initialized from the constructor. This field is being accessed in multiple places in your code. My suggestion is to add a shortcut that adds a breakpoint to every line that field is being used in, sort of like the "Add a breakpoint to every member in the class" shortcut, but for fields.

Hello Umut,


The "When Set... Break" feature currently works only on properties but we like your idea and hope to extend it's functionality in the future so that it'll work the way you described.