Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to avoid triggering properties while debugging?

is there a way to prevent triggering of property getter code while watching variables in debug? something in the style of the DebuggerStepThrough attribute?

like image 459
Yonatan Karni Avatar asked Nov 19 '09 08:11

Yonatan Karni


2 Answers

You can use the DebuggerBrowsableAttribute

DebuggerBrowsableAttribute Class

like image 57
Jeff Cyr Avatar answered Sep 20 '22 01:09

Jeff Cyr


Tools\Options\Debugging\General\"Enable property evaluation and other implicit function calls" - uncheck that box in VS.

like image 33
Brian Avatar answered Sep 23 '22 01:09

Brian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!