VS Arduino
>> >> Debugger variable modification
https://www.visualmicro.com/forums/YaBB.pl?num=1566127485

Message started by Trek19 on Aug 18th, 2019 at 11:24am

Title: Debugger variable modification
Post by Trek19 on Aug 18th, 2019 at 11:24am
I have been trying to use the Debugger but if I enter a variable for modification as described in the online help:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Working-With-Breakpoints-When-Hit.html
as  {counter=?}
the variable shown in the Expression window doesn't appear yellow and whilst I can modify its value in the window this new value is not used the program when it continues using  [F5] .


Title: Re: Debugger variable modification
Post by Visual Micro on Aug 18th, 2019 at 11:28am
Okay so you are using the serial debugger. Did you press ENTER after changing the value? The new value might not display until the breakpoint is next hit but should be available to the code.

Title: Re: Debugger variable modification
Post by Trek19 on Aug 18th, 2019 at 11:58am
OK pressing ENTER after modifying the variable done the trick but the box is still not yellow, no big deal though.

Thanks for speedy response.
Jim

Title: Re: Debugger variable modification
Post by Visual Micro on Aug 18th, 2019 at 12:15pm
When we introduced themes the yellow didn't work to it was changed to just be different from readonly expressions. Which theme are using using?

Title: Re: Debugger variable modification
Post by Trek19 on Aug 18th, 2019 at 12:33pm
I am using theme "Blue"
Jim

Title: Re: Debugger variable modification
Post by Visual Micro on Aug 18th, 2019 at 12:38pm
If you have more than one variable in the watch expressions is there a difference in color between readonly and modifiable variables?

Title: Re: Debugger variable modification
Post by Trek19 on Aug 18th, 2019 at 1:51pm
read only appear in a cell with the same background colour as the window ie pale blue whereas the modifiable variables appear in a cell with a white background.

Jim

Title: Re: Debugger variable modification
Post by Visual Micro on Aug 18th, 2019 at 5:19pm
Yes the colors change depending on theme. Docs need updating.

Moved your next question to a new thread
https://www.visualmicro.com/forums/YaBB.pl?num=1566138738/0#0

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