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 Breakpoints in .cpp Library files (Read 2609 times)
James Brown
Junior Member
**
Offline


Posts: 46
Location: Near San Diego
Joined: Jul 31st, 2012
Breakpoints in .cpp Library files
Oct 13th, 2012 at 4:55pm
Print Post  
VS 2012 and latest debug install.
I can set breakpoints in the main .pde file and I can change the library .cpp file, recompile, and all seems to work.  What I cannot do is set a Breakpoint in a .cpp library file.
Any Help...  Cry
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints in .cpp Library files
Reply #1 - Oct 13th, 2012 at 5:52pm
Print Post  
Hi James,

You are right, at the moment you can only set breakpoints in pde/cpp sketch files, not library files.

I expect you will be able to set breakpoints in library files during the next few weeks
  
Back to top
IP Logged
 
James Brown
Junior Member
**
Offline


Posts: 46
Location: Near San Diego
Joined: Jul 31st, 2012
Re: Breakpoints in .cpp Library files
Reply #2 - Nov 2nd, 2012 at 2:32pm
Print Post  
Is it possible to set breakpoints in libraries in the latest version?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints in .cpp Library files
Reply #3 - Nov 2nd, 2012 at 2:41pm
Print Post  
No sorry that work hasn't been done yet. I started it but it turned into an extended job and other priorities came up. 

Hope to get back to it asap
  
Back to top
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Breakpoints in .cpp Library files
Reply #4 - Nov 4th, 2012 at 1:30pm
Print Post  
Damn this is the time I was hoping that the library breakpoints are done yet. Is there another way to debug library code for now?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints in .cpp Library files
Reply #5 - Nov 4th, 2012 at 3:40pm
Print Post  
Sort of in a stunted way. 

Make everything you want to track public/external in the libs and then it can be reported/changed from within a pde or the loop().

I'll be building a new version over the next few days, I will try to look at it again before then.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint