How to get ToString() to show up in Debug

前端 未结 7 1085
情话喂你
情话喂你 2020-12-15 21:34

I\'d like to get ToString() to display for a class under my control in debug mode.

It\'d be nice if this was the first thing to show up when you hover over a varia

7条回答
  •  生来不讨喜
    2020-12-15 22:15

    If you are using visual studio you could add a watch @ runtime om the yourvariable.ToString() line, this will show up in the bottom of your screen when it hits a breakpoint

提交回复
热议问题