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
Hot Topic (More than 8 Replies) breakpoints have no effect, serial port options button grayed out (SOLVED) (Read 8813 times)
Simonb
Junior Member
**
Offline


Posts: 10
Joined: Sep 11th, 2015
breakpoints have no effect, serial port options button grayed out (SOLVED)
Sep 17th, 2015 at 4:23am
Print Post  
Hi, I have followed the documentation guidelines and I'm unable to stop on a breakpoint. Traces don't work neither. I used to be able access the serial port options button but now it's grayed out.   

Any opinions? See screenshot below for details:
« Last Edit: Nov 14th, 2015 at 2:11am by Tim@Visual Micro »  

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: breakpoints have no effect, serial port options button grayed out
Reply #1 - Sep 17th, 2015 at 11:25am
Print Post  
I can't see what configuration is selected in your image because it is covered with the Visual Micro menu. 

The debug options only show if debug is running.

If you configuration set to Release or Debug?
  
Back to top
IP Logged
 
Simonb
Junior Member
**
Offline


Posts: 10
Joined: Sep 11th, 2015
Re: breakpoints have no effect, serial port options button grayed out
Reply #2 - Sep 17th, 2015 at 12:54pm
Print Post  
Hi, it's set to debug. I just created a new project from scratch, enabled "(Micro Debug) Full" and serial options button is still grayed out.

Enabling tutorial mode doesn't create the default breakpoint neither. Thanks for the support.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: breakpoints have no effect, serial port options button grayed out
Reply #3 - Sep 17th, 2015 at 1:09pm
Print Post  
Thanks for the info. If you have automatic debugging enabled, which it is by default, then the project Micro debug property has no effect.

It looks like debugging is not enabled so. Do you own a debugger license or are you in trial mode?

The automatic breakpoint is only created when tutorial mode is enabled. 

The "Micro Build" output window will show if a debug or release compile is being made.
« Last Edit: Sep 17th, 2015 at 1:10pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Simonb
Junior Member
**
Offline


Posts: 10
Joined: Sep 11th, 2015
Re: breakpoints have no effect, serial port options button grayed out
Reply #4 - Sep 17th, 2015 at 1:22pm
Print Post  
Hi, I'm in trial mode. Micro build reports nothing about debug/release. See image below. The two visible breakpoints have been set manually (Tutorial mode is on but has no effect).

  

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: breakpoints have no effect, serial port options button grayed out
Reply #5 - Sep 17th, 2015 at 1:30pm
Print Post  
Sounds like the trial has ended.

Please see what it ways in tools>options>visual micro>application features>license status

Thanks
  
Back to top
IP Logged
 
Simonb
Junior Member
**
Offline


Posts: 10
Joined: Sep 11th, 2015
Re: breakpoints have no effect, serial port options button grayed out
Reply #6 - Sep 17th, 2015 at 1:39pm
Print Post  
82 days remaining! Installed the software last week, Awesome software by the way.

Breakpoints were working during the first day.  In case that helps, see screenshot below for more info.
  

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: breakpoints have no effect, serial port options button grayed out
Reply #7 - Sep 17th, 2015 at 1:48pm
Print Post  
Thanks for all the info.

1)
What are you clicking to upload a debug version?

2)
Please confirm that the following two options are empty:-

"Tools>Options>Visual Micro>Compiler>Debug Configuration"
"Tools>Options>Visual Micro>Compiler>Release Configuration"

Thanks

  
Back to top
IP Logged
 
Simonb
Junior Member
**
Offline


Posts: 10
Joined: Sep 11th, 2015
Re: breakpoints have no effect, serial port options button grayed out
Reply #8 - Sep 17th, 2015 at 2:05pm
Print Post  
Problem fixed!! Than you so much. 

I was clicking on Visual Micro -> compile and upload instead of Debug -> Start debugging.



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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: breakpoints have no effect, serial port options button grayed out
Reply #9 - Sep 17th, 2015 at 2:11pm
Print Post  
Ah, yes actually there is an update in "tools>extensions & updates" which changes the behaviour of the upload button. It's a new button in recent version and that was a bug/design flaw.

You can find the release notes on the "More" menu of visualmicro.com which shows bug fixes and might be useful in future

Release Notes

Thanks again for the clear reports.
« Last Edit: Sep 17th, 2015 at 2:11pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint