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 How to debug? (Read 6547 times)
Per
Newbies
*
Offline


Posts: 4
Location: Denmark
Joined: Feb 1st, 2016
How to debug?
Feb 1st, 2016 at 2:55pm
Print Post  
I have Visual Studio Community in 2015 and Arduino for Visual Studio ver. 1.0 and I bought Visual Micro license yesterday, so I'm quite new to this. My problem is that I can not get Debug to work , I have tried Step-by -Step Debugging Tutorial but nothing happens ! what am I doing wrong? 

pabrix DK
  

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: How to debug?
Reply #1 - Feb 1st, 2016 at 3:14pm
Print Post  
Hi,

Thanks for the image.

You have closed the solution explorer so it's difficult to know what you have opened:-

1. Close the .ino source you have open. Then click "File>Open>Arduino Project" this should open the arduino .ino as a visual studio project

2. Open the Solution explorer using "View>Solution Explorer" so you can see your project and its source code files

3. Confirm if you have compiled and uploaded yet? This should be done prior to attempting debug so that you confirm the basics are working.

4. Post a screen image so that we can see you have done this correctly.

5. Then debug should be working.

The docs are here to help you open and compile your first project http://www.visualmicro.com/page/User-Guide.aspx?doc=index
« Last Edit: Feb 1st, 2016 at 3:15pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Per
Newbies
*
Offline


Posts: 4
Location: Denmark
Joined: Feb 1st, 2016
Re: How to debug?
Reply #2 - Feb 1st, 2016 at 3:51pm
Print Post  
Hi,

Thanks for quick response!
Subject 1: Done
Subject 2: Done
Subject 3: Confirm
Subject 4: Posted
Subject 5: No I'm sorry
  

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: How to debug?
Reply #3 - Feb 1st, 2016 at 3:59pm
Print Post  
Hi,

That looks good so can only be two possible issues.

Please post a screen image of the "Visual Micro" menu which will answer remaining questions.

Thanks
  
Back to top
IP Logged
 
Per
Newbies
*
Offline


Posts: 4
Location: Denmark
Joined: Feb 1st, 2016
Re: How to debug?
Reply #4 - Feb 1st, 2016 at 4:17pm
Print Post  
Hi,

An here comes dump3, I hope you can see something!
  

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: How to debug?
Reply #5 - Feb 1st, 2016 at 4:18pm
Print Post  
Hi,

Yes you have un-ticked "Automatic Debugging". Please tick it and then try Smiley

Thanks
  
Back to top
IP Logged
 
Per
Newbies
*
Offline


Posts: 4
Location: Denmark
Joined: Feb 1st, 2016
Re: How to debug?
Reply #6 - Feb 1st, 2016 at 4:25pm
Print Post  
Hi,

You are super, it works , great thanks Wink

Pabrix DK
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint