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
Locked Topic Breakpoints not working in class libraries (Read 2982 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Breakpoints not working in class libraries
Jun 14th, 2016 at 6:57pm
 
I have a number of local class libraries (in same folder as .ino) but when I set a breakpoint in any of them, the breakpoint does not get hit. I cannot display variables or stop the program. 

Is this a feature or a bug? It is really hampering my development because 99% of my code is in my libraries. Tongue
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints not working in class libraries
Reply #1 - Jun 14th, 2016 at 7:01pm
 
They should be working.

Can you make a debug upload, then zip the .cpp files (that should have breakpoints in them) from the build folder along with the xml files from the __vm folder below the sketch/project.

The build folder can be foundĀ  by switching on "vmicro>compiler>show build folder" or by looking at the verbose output but I guess you already know this Smiley

Can email to info [at] visualmicro.com or attach here in zip
« Last Edit: Jun 14th, 2016 at 7:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Breakpoints not working in class libraries
Reply #2 - Jun 16th, 2016 at 9:23pm
 
My bad. It works. Sorry.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint