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 fail to delete (Read 3831 times)
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Breakpoints fail to delete
Mar 21st, 2017 at 5:52pm
Print Post  
I am using VM 1.1702.15 with VS 2015. When I delete breakpoints they don't clear correctly. When I run the code it reports that is can't find a breakpoint, which should not be there. I thought it was because I had manually deleted the breakpoints, but I am not sure now. Using delete All Breakpoints from the menu seemed to be ok, but that is not the case.

I now can't remove the error. See attached file.

Regards,

David
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #1 - Mar 21st, 2017 at 6:05pm
Print Post  
Hi,

This suggests you have not uploaded your code since changing or removing breakpoints. Do you agree?

More...

You can also use the toolbar to switch from "Debug" to "Release". Then upload, the Release setting always gives you a clean arduino build without debugging which is the best way to work. 

Use debugging when you need it otherwise use release.
  
Back to top
WWW  
IP Logged
 
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Re: Breakpoints fail to delete
Reply #2 - Mar 21st, 2017 at 9:52pm
Print Post  
I had rebuilt after deleting the breakpoints. In fact I closed the project, reopened, rebuilt and the problem was still there.

This has occurred since upgrading, I haven't had the problem for the last 18 months or so I have used the program.

I am not sure using release really solves the problem.

I have uninstalled the software and installed a different release, I think newer and will see if the problem persists.

Regards,

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #3 - Mar 21st, 2017 at 10:12pm
Print Post  
I agree it needs to be understood but I also provided I do to help you work around the issue until then.
  
Back to top
WWW  
IP Logged
 
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Re: Breakpoints fail to delete
Reply #4 - Mar 24th, 2017 at 9:41pm
Print Post  
I am not sure what you mean by "needs to be understood". Is there a problem and you are suggesting as a workaround to use release build for now?

As I noted, I have been using debug builds with no problems until recently.

Regards,

David

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #5 - Mar 24th, 2017 at 9:50pm
Print Post  
We need to look at the reason why you are affected by this and fix it and yes as I said Release mode is a workaround. 

If you are not using the automated reports such as digital or analog then it is much better to be in release mode anyway.
  
Back to top
WWW  
IP Logged
 
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Re: Breakpoints fail to delete
Reply #6 - Mar 25th, 2017 at 10:26am
Print Post  
As I have uninstalled and reinstalled VM, I will see if the problem still persists.

I understand that debug mode can have an impact on performance, but found it easier to remain in debug mode whilst developing.

If the problem persists, what information would help you diagnose the issue?

Regards,

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #7 - Mar 25th, 2017 at 10:51am
Print Post  
Nothing required. I have you workaround and it will be looked at over next couple of weeks
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #8 - Mar 25th, 2017 at 12:48pm
Print Post  
I tested this and can not find a problem.

Maybe we can go back to my first questions

Have you uploaded the code since removing the breakpoints?

Uploaded not just build?
  
Back to top
WWW  
IP Logged
 
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Re: Breakpoints fail to delete
Reply #9 - Mar 27th, 2017 at 8:13pm
Print Post  
Yes, I did upload and build - I tried various things to try and remove.

However, as I said I uninstalled the application from VS and reinstalled. I have remained in debug and added and removed breakpoints with no problem so far. So let's close this for now.

Regards,

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #10 - Mar 27th, 2017 at 8:35pm
Print Post  
Ok sorry missed that. Thanks
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete
Reply #11 - Apr 8th, 2017 at 11:45am
Print Post  
@bas I have split the post because I had some questions but I have since been able to replicate the issue.

Deleting all breakpoints from a cpp file not being detected:  should be resolved in the next release thanks!

« Last Edit: Apr 8th, 2017 at 11:55am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints fail to delete - Fixed
Reply #12 - Apr 8th, 2017 at 2:55pm
Print Post  
Hi,

Removing all the Breakpoints from a .cpp file without modifying the source code caused the previously compiled (cached) version to be used. 

This is resolved in the next release which can also be downloaded from this thread

Thanks very much for the post and sorry for the delay
« Last Edit: Apr 8th, 2017 at 2:55pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
davidbal
Junior Member
**
Offline


Posts: 29
Joined: Dec 20th, 2015
Re: Breakpoints fail to delete
Reply #13 - Apr 14th, 2017 at 8:11pm
Print Post  
Glad you found the issue which is good as I had the problem again today.

I will download the new version.

Regards,

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