Hello @Haviv Elbsz ,
Welcome to Microsoft Q&A forum.
Does setting breakpoints conditions and actions meet your requirements?
For example, set the breakpoints and right-click the breakpoint, select Conditions…, Conditional Expression
, Is true
, m[x][y]==-1
, and set Actions > Show a message in the Output Window: The value of x,y is {x}, {y}
(or customize some other actions and conditions). Then run your project. check the VS Output Window(select Debug in Show output from
box in Output Window), and verify the message.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.