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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) VMDPR problem persists (Read 10724 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #20 - Nov 23rd, 2018 at 9:26pm
Print Post  
I have tried that before and I did it again, but each time I get an error message telling me that a .MD file already exists. So I deleted that file from the Nanobots library folder, but the problem persisted. 
I pounded on it a bit more and found a copy of the file in the External References folder, deleted it and compiled again. This time I get 85 errors and 224 warnings. The first error is:

Severity      Code      Description      File      Line
Error            Debug Build Error: This hardware might not support the default Visual Micro Debugger.
     If this project is using OTA/WiFi upload then please use the vMicro>Debugger menu to set the Serial COM and Remote port for the debugger.
     Otherwise switch the toolbar from 'Debug' to 'Release' and build again. 
           or switch off Automatic Debugging
           or configure the SoftwareSerial debugger option.            


So I compiled it again, but this time with Allow Library Debugging. The output from both are in the attached Output.txt.

Bob
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VMDPR problem persists
Reply #21 - Nov 23rd, 2018 at 9:31pm
Print Post  
I don't know what the .md files are but they should not be included in any project. If they exist on disk that doesn't matter but what is included in the actual project does matter.

Please send screen shot of the ide with the nanobots shared library project expanded and the references node of your arduino project expanded (make sure external references is collapsed, we never have any interest in external references)

« Last Edit: Nov 23rd, 2018 at 9:33pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #22 - Nov 23rd, 2018 at 9:34pm
Print Post  
Belay my last... My bad. Garbage in code.

Testing now...
  
Back to top
 
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #23 - Nov 23rd, 2018 at 9:42pm
Print Post  
I compiled successfully both ways. With Library Debugging on, I put a trace point in a method, but nothing happened. Tried again in a different place, but same non-results.

Put a hard breakpoint at a place where I know it was getting executed, but nada. No stop.

At this point, not sure what to look for.

Again, my Zoom offer stands.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VMDPR problem persists
Reply #24 - Nov 23rd, 2018 at 9:48pm
Print Post  
The output will show the build folder. You will find a copy of the library .cpp containing breakpoint code.

can you see the breakpoint code in the .cpp?
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #25 - Nov 23rd, 2018 at 10:03pm
Print Post  
I look in this folder and see nothing useful:
C:\Users\rhjon\AppData\Local\Temp\VMBuilds\Whacko\mega_atmega2560\Debug

Three .cpp files: SPI.cpp, RD24.cpp, Whacko.cpp (only 732 bytes). No NanoBots.cpp
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VMDPR problem persists
Reply #26 - Nov 23rd, 2018 at 10:11pm
Print Post  
Try a build clean then rebuild. maybe some caching issue.  Also zip the Nanobots lib and attach here if problem persists.

Thanks
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #27 - Nov 23rd, 2018 at 10:23pm
Print Post  
OK, Here is aZIP conaining the entire NanoBots library and the Whacko sketch
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VMDPR problem persists
Reply #28 - Nov 23rd, 2018 at 10:43pm
Print Post  
Thanks, the debugger doesn't support breakpoints in .h files at the moment.

Adding debug statements requires #includes to be automatically inserted at the top of temp code files that contain  breakpiints.   .h files are often wrapped in syntax to "run once" that is difficult to navigate and accurately determine an insert point for the #includes.
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: VMDPR problem persists
Reply #29 - Nov 24th, 2018 at 2:20am
Print Post  
I went though a major effort to convert all .cpp files into .h files, so I am not inclined to go back. Does this mean that I can't use the library debugging ever or is it just a delay until you can figure out the path?

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VMDPR problem persists
Reply #30 - Nov 24th, 2018 at 2:23pm
Print Post  
.h files have never been supported in debug but I will add it to the list. This is how the debugger has always worked regardless of shared library debug support.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint