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

Data Breakpoints with VS 2019

Ted_Lillys
Novice
340 Views

Running VS 2019 Community (v 16.11.32) on Windows 10 (Intel Fortran Complier 2024.0.

Are data breakpoints still broken in VS?  Anyone have a work around?  I'm specifically looking to watch an element in an Integer(4) array.

Thanks

Ted

0 Kudos
3 Replies
andrew_4619
Honored Contributor II
324 Views

Data breakpoint broken? Not my experience. In any specific scenarios or generally broken?  I think your installation must be messed up.

0 Kudos
Ted_Lillys
Novice
292 Views

If create a new data breakpoint during a debug session as below - looking at a specific location in an integer(4) array - 

Ted_Lillys_0-1701884913053.png

I get the following response from VS:

Ted_Lillys_1-1701884976477.png

If this is not the correct way to set a data breakpoint point for an array (stop execution when the value at an address changes), then I'm open to learning. Same for a variable.

0 Kudos
andrew_4619
Honored Contributor II
273 Views

andrew_4619_0-1701911903382.png

 

Like that. Under "new data breakpoint", works for me.

Though I normally just follow vars in the watch window.

0 Kudos
Reply