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 When hit / Expressions (Read 2485 times)
bradw
Newbies
*
Offline


Posts: 5
Joined: Jul 17th, 2014
When hit / Expressions
Jul 18th, 2014 at 6:57am
Print Post  
Hi, 

The expressions window is not working consistently for me. When I defined my variable in the 'when hit' print dialog, I was expecting to see the values show in the expressions window. Sometimes it is working for me, others times not, and I can't see the difference. 

For one not working, I have set to print my variable {row0buffer}, which is a character array - char row0buffer [41]; I get this printed in the serial window ... 

VMDPE_2|Arduino
_VMDPE
VMDPE_2|Sports Gangsta
_VMDPE
VMDPE_2|NHL IQ
_VMDPE
VMDPE_2|Wall Street Journal
_VMDPE
VMDPE_2|News Detector
_VMDPE
VMDPE_2|Tom Mitchell
_VMDPE

as it loops through updated buffer values. Nothing in the experessions window. I have a feeling it has something to do with the "VMDPE_2" and "_VMDPE" statements, but I don't know what this means. 

Any ideas?

Thanks,
Brad
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: When hit / Expressions
Reply #1 - Jul 18th, 2014 at 11:44am
Print Post  
Looks like all your strings have trailing \r or \n (new line char)

The debugger will only work with single line strings at the moment

What you see is the debugger packet format. If Visual Micro doesn't find a complete packet in the line then it shows all the data in the serial window otheriwise it extracts what it needs to show the debug display. (In this case it is break point number 2 or the second one you created)
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint