Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Possible bug in Expressions Window (Read 1951 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Possible bug in Expressions Window
Feb 26th, 2014 at 2:18pm
Print Post  
Hi,

I run version 1.1401.26. On a breakpoint I use When hit with this:
Code
Select All
TSS va retourner {m_tss, HEX} 


In the Debug window, the value is correctly printer as Hex. In Expressions window, I ask for Data and Hex, and there I get wrongly printed value. For example, for a Hex value of 80 I get:

Data = 80 (that's Ok)
Hex = 50 (that's wrong)

Looks like for the Hex column, instead of expressing in Hex the real value of m_tss, value is read from Data and converted to Hex, pretending it's in Decimal. The Bin column is Ok.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Possible bug in Expressions Window
Reply #1 - Feb 26th, 2014 at 2:37pm
Print Post  
Hi Giles,

The columns showing hex,bin are for novice users that do not know how to specify a format using ,HEX etc.

It's one or the other at the moment so I suggest right clicking the column headers and removing bin and hex from the display because your data is pre-formatted.

In future releases we will try to automatically ignore the dynamic conversion if an expression has already been pre-formatted.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint