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 Data Tip / Pin Inspect Value not Working (Read 5098 times)
Eugbug
Newbies
*
Offline


Posts: 2
Location: Ireland
Joined: Jan 12th, 2014
Data Tip / Pin Inspect Value not Working
Jan 12th, 2014 at 12:49am
Print Post  
When my code stops at at a breakpoint,  data tip / pin inspect value doesn't seem to work when I hover the mouse cursor over a variable, although from what I remember it used to do so before (Could have been in Visual Basic). I'm using Atmel Studio and the Visual Micro plugin.
Also when I click on "step into", highlighting doesn't advance to the next line of code even though the logic of the code shouldn't prevent this from happening.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Data Tip / Pin Inspect Value not Working
Reply #1 - Jan 12th, 2014 at 1:03am
Print Post  
Hi,

Thanks for the question and sorry there is confusion about this. 

Arduino does not have debugging, normally you have to add serial.print() messages to your code. The Visual Micro debugger attempts to provide something better by injecting special debugger serial.print() messages into a temporary copy of the code during debug compile. The result is that you can only jump between breakpoints using F5. To do so you need to switch on Project property "Micro Debug> Enable Break/Pause".

You can read more here also in the wiki. The Youtube video on the debugger overview page is a bit slow at first but answers quite a few questions. 

I hope that helps.
  
Back to top
IP Logged
 
Eugbug
Newbies
*
Offline


Posts: 2
Location: Ireland
Joined: Jan 12th, 2014
Re: Data Tip / Pin Inspect Value not Working
Reply #2 - Jan 12th, 2014 at 1:15am
Print Post  
Tim@Visual Micro wrote on Jan 12th, 2014 at 1:03am:
Hi,

Thanks for the question and sorry there is confusion about this. 

Arduino does not have debugging, normally you have to add serial.print() messages to your code. The Visual Micro debugger attempts to provide something better by injecting special debugger serial.print() messages into a temporary copy of the code during debug compile. The result is that you can only jump between breakpoints using F5. To do so you need to switch on Project property "Micro Debug> Enable Break/Pause".

You can read more here also in the wiki. The Youtube video on the debugger overview page is a bit slow at first but answers quite a few questions. 

I hope that helps.


Thanks Tim. That explains everything! Also it took me ages to figure out why execution wasn't stopping at a breakpoint - "Micro Debug> Enable Break/Pause" was turned off in properties. Presumably it is disabled by default to stop 'copters from dropping out of the sky!
« Last Edit: Jan 12th, 2014 at 1:20am by Eugbug »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Data Tip / Pin Inspect Value not Working
Reply #3 - Jan 12th, 2014 at 1:30am
Print Post  
Yes it seemed like a good precaution  Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint