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 Arduino ZeroPro Debugging problem (Read 4474 times)
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Arduino ZeroPro Debugging problem
Jul 30th, 2015 at 2:49pm
Print Post  
Hello !
I would point out two other small anomalies with Visual Studio Debug for Arduino M0 Pro :

1 ) The functions and DEBUG DEBUG coondition BREAKPOINT HIT COUNT are not working .
It happens as if you do not put any conditions ...

2 ) The window DIGITAL PINS not moving correctly pin values ​​from low to high and vice versa .

you can see from the following to better understand

Thank You

Mario
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino ZeroPro Debugging problem
Reply #1 - Jul 30th, 2015 at 3:01pm
Print Post  
Hi

Thanks for the questions

1) Your screen image only shows "Always break". can you confirm what hit count you set or show an image of the breakpoint properties windows in a configuration that does not work? 

The "Hit Count" integer field can be ignored, it is a default Visual Studio property. An alternative is shown in the expressions viewer (right click the expressions viewer list columns to see more column choices)

2) Please explain how have you enabled the digitalPin report? Have you used the project property or are you using the breakpoint "When Hit" {@DigitalReport} special syntax? 

I also notice the wrong number of pins are shown the the Zero, this is functionality that has not yet been tested and checked for the Zero, I suspect it is trying to use the Due pin layout. It usually takes a few months for new boards such as the Zero to be fully supported by the debugger
Thanks
« Last Edit: Jul 30th, 2015 at 3:05pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Arduino ZeroPro Debugging problem
Reply #2 - Aug 7th, 2015 at 6:53am
Print Post  
1 ) Trust that nele other screens during debugging , options, breakpoints do not work ..

2 ) I've enabled the digital pin as " project property"

3 ) When will a new update for Atmel Studio ?
You are able to debug it line by line with the buttons step into and step over and Run to cursor that are very useful to define the program a real debugger ?

There will be a chance to see the internal variables of the micro ?

Thank you
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino ZeroPro Debugging problem
Reply #3 - Aug 7th, 2015 at 9:27am
Print Post  
Hi Mario,

Sorry I do not understand your english but thank you for trying.

The Visual Micro debugger is designed to replace Serial.print() and is useful for all Arduino boards that do not support debug.

The Zero is new and has hardware debug which you can use if you do not use .ino files. However it is a new bard and still we can not buy them in Europe so there is little testing.

Hardware debug without .ino uses native atmel studio projects which does not concern Visual Micro.

You have jumped in with a Zero at the time when the technology is new and few people understand how it works. So if you want hardware debug you must NOT use Visual Micro or Arduino IDE.

Best of luck with your projects
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint