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 Take 2: Visual Micro debugger / breakpoints not working (Read 3276 times)
KenSparks
Newbies
*
Offline


Posts: 2
Joined: Jun 18th, 2016
Take 2: Visual Micro debugger / breakpoints not working
Jun 18th, 2016 at 11:41pm
Print Post  
I bought and installed the pro version, and installed the license key.
I am using Microsoft Visual Studio Community 2015, version 14.0.25123.00 Update 2., and Arduino IDE version 1.6.9

I can compile in Debug mode, and set breakpoints, but the breakpoints are ignored. The "Stop Debugger" and "Continue/Step" buttons on the toolbar are sometimes present, but grayed out. I have uninstalled and reinstalled the Arduino IDE,  Visual Studio and the debugger.
A screen shot showing the Visual Micro menu is attached.

How do I get the debugger to function?
  

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: Take 2: Visual Micro debugger / breakpoints not working
Reply #1 - Jun 19th, 2016 at 12:11am
Print Post  
Thanks for the image. 

Can you please post an image of the "vMicro>Debugger" menu or tell me if "Automatic Debugging" is enabled.

Please also show a screen shot after clicking "Start" or "Build & Upload".

Thanks
  
Back to top
IP Logged
 
KenSparks
Newbies
*
Offline


Posts: 2
Joined: Jun 18th, 2016
Re: Take 2: Visual Micro debugger / breakpoints not working
Reply #2 - Jun 19th, 2016 at 12:25am
Print Post  
Automatic Debugging was not enabled.  I enabled it, set the local port, and local port speed.

Debugging is now working! Smiley

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Take 2: Visual Micro debugger / breakpoints not working
Reply #3 - Jun 19th, 2016 at 12:32am
Print Post  
Hi,

Okay that means you switched it off at some point.

You can leave the local port and speed empty to use the defaults (Serial, 115k on the Upload Port)

So the important point for other reads is to ensure that automatic debug is enabled. This means that when the tool bar is set to "Release" debug will not be included otherwise it will.

Thanks for the post I will request the documentation be updated.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint