📜 ⬆️ ⬇️

VS 2010: Pin to Source for debugging

image
There is a new debugger feature called Pin to Source, which literally means to attach to the source code. It can be used from the context menu or from DataTip.


In the DataTip that appears, you need to click on the pin, and it is automatically fixed in the code.

image
')
When you want to monitor a variable, this option will fix the DataTip to this position in the source code window as you continue to debug the code.

image

Continuing debugging, you can go back to your line of code at any time and see that DataTip is still there.

You can even add notes to it.

image

Designers decided not to add another item to the context menu. They brought QuickWatch, Add Watch and Pin to Source to a separate submenu:

image

Source: https://habr.com/ru/post/73316/


All Articles