Window in visual studio when debugging method

1

I've been dealing with some very robust methods that change or insert data into multiple tables. It takes time to debug and map all the tables that are affected by the routine.

Is there a window Immediate Window or Quick Watch in Visual Studio that shows all the entities that are being affected during debugging?

If anyone knows anything that can help me, I'll be very grateful!

    
asked by anonymous 01.06.2017 / 16:38

2 answers

3

I use visual studio AUTOS to check all objects modified during the debug.

Links to help you:

link

link

    
01.06.2017 / 16:44
1
  • Autos shows variables used in the current run line (where the debugger is stopped) (CTRL + ALT + V, A, or Debug> Windows> Autos);
  • Locals shows variables within the current scope, which is usually the function or method that is running (CTRL + ALT + V, L, or Debug> Windows> Locals);
  • Watch allows you to choose which variables you want to monitor regardless of the context (values only appear when available) (CTRL + ALT + W, 1, or Debug & Windows> Watch 1).

A particularity that I find quite interesting is that the variables with changed values will turn red, making it easier to track changes in debugging.

Shortcuts to these windows are only available in debug mode

Reference

    
29.01.2018 / 20:26