VS Arduino
>> >> How to set the watch window?
https://www.visualmicro.com/forums/YaBB.pl?num=1558947037

Message started by Tomas Lancz on May 27th, 2019 at 8:50am

Title: How to set the watch window?
Post by Tomas Lancz on May 27th, 2019 at 8:50am
Hello,

I have installed the Visual studio 2019 and Visual Micro. Can you please help me with setting of the watch window? I don't know where to find it and how to add some variable...

Also can't see the status of the variable when I move the mouse over it in the source code

Thank you, T.




variable_label.jpg ( 9 KB | 1 Download )

Title: Re: How to set the watch window?
Post by Tomas Lancz on May 27th, 2019 at 11:57am
...I found the explanation: https://www.visualmicro.com/page/User-Guide.aspx?doc=Working-With-Breakpoints-When-Hit.html

...now it works

Title: Re: How to set the watch window?
Post by Tomas Lancz on May 27th, 2019 at 12:00pm
...but still can't see the variable status when I set the mouse over the variable...
variable_label_2.jpg ( 201 KB | 1 Download )

Title: Re: How to set the watch window?
Post by Visual Micro on May 27th, 2019 at 12:13pm
Sorry, the serial debugger is not a full debug solution and relies on you stating the variables (or method return value) you want to watch (and/or update) before upload. It does not show data tips for variables it only shows data in the watch window and trace.

The serial debugger avoids the need to add serial.print debug to your code, does not store the messages using the micro controller flash and can plot charts, show min/max values, use timed messages and other things hardware debug can not do. So it can be a quick and easy solution otherwise you have to use the hardware debug option but that is more complicated for avr.


Title: Re: How to set the watch window?
Post by Tomas Lancz on May 27th, 2019 at 12:27pm
Okay, thaks for your reply...

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.