Window in visual studio when debugging method

Asked

Viewed 136 times

1

I’ve been dealing with some very robust methods that alter or insert data into several tables. It is time consuming to debug and map all tables that are affected by routine.

Is there a window like 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!

2 answers

3


1

  • Autos shows variables used on the current line of execution (the place 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 being executed (CTRL+ALT+V, L, or Debug > Windows > Locals);
  • Watch lets you choose which variables you want to monitor regardless of context (values only appear when available) (CTRL+ALT+W, 1, or Debug > Windows > Watch 1).

One peculiarity that I find very interesting is that the variables with changed values will be in red, making it easier to track changes in debugging.

Shortcuts to these windows are only available in debug mode

Reference

Browser other questions tagged

You are not signed in. Login or sign up in order to post.