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 Library code debuging problem (Read 1413 times)
grandgo
Newbies
*
Offline


Posts: 1
Location: Germany
Joined: Feb 6th, 2018
Library code debuging problem
Feb 6th, 2018 at 4:10pm
Print Post  
hello,

this page: 

http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging.html#vmd9 ;

tells me, that I have to add the library code as "normal source code" into my project. how? what does that mean?

what I did was to add the .cpp and .h files as "existing items". but this i clearly not the right way, because the breakpoints inside my library code is ignored.

can someone help me here please?

thank you.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Library code debuging problem
Reply #1 - Feb 6th, 2018 at 10:14pm
Print Post  
Hi,

That's an old doc.

You don't need to do that.

You should used the libraries as shared projects and then they will debug.

To see how to create a shared library project then click the checkbox on the add library menu called "create a project when adding libraries", then add a library.

If you are trying to debug a library below the arduino ide folder you might need to copy it to documents\arduino\libraries due to permissions problems.

When you see how make an arduino libarary work in vs then you should see that you can put the libraries anywhere and then add them into your solution and then add the "shared reference"

http://www.visualmicro.com/post/2017/01/16/Arduino-Cross-Platform-Library-Develo...
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint