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) lates build of vis micro last night broken (Read 1535 times)
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
lates build of vis micro last night broken
Jan 12th, 2016 at 6:33pm
Print Post  
updated last week, all is well
updated last night and now I can build and debug/run

the Vis micro automatically sets a breakpoint at loop() line and fails to run

I remove bvreakpoint and the vis micro again sets it.

help
  
Back to top
 
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #1 - Jan 12th, 2016 at 6:40pm
Print Post  
see the pic of breakpoint that the latest version keeps creatinbg when running..
  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #2 - Jan 12th, 2016 at 7:20pm
Print Post  
1)
If you start with debugging but don't have any breakpoints then breakpoints are created for you.

If you switch from "Debug/Windows debugger" to "Release" then you will be starting without any debug so the breakpoints won't get in your way.

These two principals have always been the case and are the case for most software development Smiley

2) With Debug enabled

When you say "fails to run" I assume you mean it stops at a breakpoint and waits for F5/Continue? If this is not the case then please report which board you are using and what debug settings you have configured, if any.

  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #3 - Jan 12th, 2016 at 7:22pm
Print Post  
i am in debug mode. there are no breakpoints set by me.  your latest version somehow creates the breakpooints.

how do i erase the breakpoint that your code auto creates?
  
Back to top
 
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #4 - Jan 12th, 2016 at 7:23pm
Print Post  
where do i find the "Debug/Windows debugger"  option? the msoft button is labelled DEBUG .
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #5 - Jan 12th, 2016 at 7:23pm
Print Post  
I don't understand. 

What's the point of being in debug mode without any breakpoints?

Why not switch the toolbar to Release?
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #6 - Jan 12th, 2016 at 7:24pm
Print Post  
why is the new version suddenly creating auto breakpoints?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #7 - Jan 12th, 2016 at 7:25pm
Print Post  
"Debug/Windows debugger" means "Debug" or "Local Windows debugger"

It's got a different name in the various visual studio versions which is why I give both.
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #8 - Jan 12th, 2016 at 7:26pm
Print Post  
if i set it to RELEASE  then RUN wont open the serial monitor and if i manually open it, I dont see any output

please fix and revert to the behavior pre-yesterday's update.

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #9 - Jan 12th, 2016 at 7:28pm
Print Post  
Quote:
why is the new version suddenly creating auto breakpoints


It's always auto created breakpoints if you have "Visual Micro>Tutorial Mode" enabled.  However in the last version there was a mistake related to the new GDB debugger for the Arduino Zero.

I have just published an update to prevent that happening but actually it was quite a good things for people who don't read the documentation and therefore don't know when they are working with a debug build or not Smiley
« Last Edit: Jan 12th, 2016 at 7:31pm by Tim@Visual Micro »  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #10 - Jan 12th, 2016 at 7:28pm
Print Post  
the ui behavior is now totally broken

I want to run in DEBUG with auto Serial output BUT I dont want any breakpoints. I just want to see my serial output
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #11 - Jan 12th, 2016 at 7:29pm
Print Post  
What auto serial output? Please be more specific?
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #12 - Jan 12th, 2016 at 7:31pm
Print Post  
Pressing button BUILD and UPLOAD (in my fdebug mofde on) wotrks great - auto opens the serial debugger.

however now in RELEASE mode, pressing the same button no longer auto opens the serial debugger.

hence I need the old behavior (before last night) to be restored.
please
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #13 - Jan 12th, 2016 at 7:33pm
Print Post  
Just open the serial monitor yourself and it will stay open. This is normal Arduino usage and the right way to use it.

The fact the debugger auto opens the serial isn't important and is only for debug purposes but you aren't using any debug.

As for an update, you need to read my posts above.
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #14 - Jan 12th, 2016 at 7:36pm
Print Post  
i dont want the serial debugger always open due to lack of screen space.,

is there a macro that I can create so that when I press BUILD and UPLOAD i can auto open the serial debuggeR?

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #15 - Jan 12th, 2016 at 7:38pm
Print Post  
As I said there is an update with a change that prevents the breakpoints.

No there is no macro to auto open serial (when in Release mode) after upload but it would be a good request to make in a new thread.
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: lates build of vis micro last night broken
Reply #16 - Jan 12th, 2016 at 7:41pm
Print Post  
please make the request.  thank you much
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: lates build of vis micro last night broken
Reply #17 - Jan 12th, 2016 at 7:54pm
Print Post  
This Topic was moved here from Arduino Extension for Visual Studio 2012, 2013 and 2015 [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint