Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28760 Discussions

Visual Studio Debugger Watch Window not Updating Workaround

tstreetkid
Beginner
728 Views

I added a loop variable "I" and a vertical position "ZJ" to a watch list  (Watch Window 1) in the latest (Jan 2022) version of oneAPI and Visual Studio Community Edition.  Neither I nor ZJ incremented in "Watch Window 1" although they tracked OK in the "Locals" window of the debugger.  The workaround I came up with was to add a undefined variable to "Watch Window 1".   This caused a refresh icon to appear, which when I click it, refreshes all the variables.  See attach screencap with this workaround.  But if someone has a way to get the window to refresh the way it's supposed to every time the watched variable updates, please share.

 

VSS-IFORT-Watch-Workaround.jpg

0 Replies
Reply