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 DebugTest errors (Read 5853 times)
Lakes
Junior Member
**
Offline


Posts: 19
Joined: Oct 26th, 2012
DebugTest errors
Nov 9th, 2012 at 11:50pm
Print Post  
First Compile
Quote:
Compiling 'DebugTest' for 'Arduino Uno'
Build folder: file://C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno
SketchLibFolders
F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\arduino\cores\arduino;F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\arduino\variants\standard;f:\my documents\ardunio uni remote\arduino-1.0.1\hardware\tools\avr\avr\include\;f:\my documents\ardunio uni remote\arduino-1.0.1\hardware\tools\avr\avr\include\avr\;f:\my documents\ardunio uni remote\arduino-1.0.1\hardware\tools\avr\avr\;f:\my documents\ardunio uni remote\arduino-1.0.1\hardware\tools\avr\lib\gcc\avr\4.3.2\include\;
Summary: Header=1 Prototypes=4 Imports=0
F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -DVISUALMICRO_COMPILER_VER=1 -I"F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\arduino\cores\arduino" -I"F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\arduino\variants\standard" "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.cpp" -o "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.cpp.o"
DebugTest.ino : : In function 'void doSomething2()':
DebugTest.ino : Warning: unused variable 'myvar'
F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -o "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.elf" "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.cpp.o" "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\core.a" -L"C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno" -lm
F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.elf" "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.eep"
F:\My Documents\Ardunio Uni Remote\arduino-1.0.1\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.elf" "C:\Documents and Settings\Administrator\Local Settings\Application Data\VMicro\Arduino\Builds\DebugTest\uno\DebugTest.hex"
Couldn't determine program size:    text         data          bss          dec          hex      filename

If the debug points are disabled I don`t see any other errors, when they are enabled, all these errors appear twice.

After clicking OK on each one, everything works as it should.
(I duplicated what you did in the tutorial video, except for having the function in a separate tab.)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DebugTest errors
Reply #1 - Nov 10th, 2012 at 12:32am
Print Post  
These are two different errors.

1)
I see you have switched on verbose compile in the options. Please switch it off, add a breakpoint and post the error.

Please confirm which version of vm you have installed. Tools>options>visual micro>version


2)
This is the debugger attempting to load visualizations such as Analog/Digital Pin reports. Please switch off until you resolve 1)

Thanks
« Last Edit: Nov 10th, 2012 at 12:36am by Tim@Visual Micro »  
Back to top
IP Logged
 
Lakes
Junior Member
**
Offline


Posts: 19
Joined: Oct 26th, 2012
Re: DebugTest errors
Reply #2 - Nov 10th, 2012 at 8:59am
Print Post  
1. VM Version 1.1210.26

2.Visualizations - Where do I look to turn them off?

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DebugTest errors
Reply #3 - Nov 10th, 2012 at 11:56am
Print Post  
Hi, the debug install instructions tell you to download the latest version of vm from codeplex. Please do. This error is because the debug upgrade that you have installed is for the latest version of vm (1211.04).

The debug instructions also suggest following us on codeplex or registering for new release notifications in the "new releases" board of this forum. This will allow you to know when a new version becomes available.

I know there is a lot to read for both vm and arduino but this information is to help you and save me time.

Please switch all of these things on so that you stay up to date and informed.

Thanks
« Last Edit: Nov 10th, 2012 at 11:56am by Tim@Visual Micro »  
Back to top
IP Logged
 
Lakes
Junior Member
**
Offline


Posts: 19
Joined: Oct 26th, 2012
Re: DebugTest errors
Reply #4 - Nov 10th, 2012 at 1:01pm
Print Post  
Quote:
Hi, the debug install instructions tell you to download the latest version of vm from codeplex. Please do. This error is because the debug upgrade that you have installed is for the latest version of vm (1211.04).
Sorry about that, the instructions were a little confusing with the missing download link from the first one, so had to go to the upgrade one.

All working now.

Quote:
The debug instructions also suggest following us on codeplex or registering for new release notifications in the "new releases" board of this forum. This will allow you to know when a new version becomes available.
Subscribed to "new releases board"

Thanks!

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DebugTest errors
Reply #5 - Nov 10th, 2012 at 4:27pm
Print Post  
Great. Yes the email problem was very strange. I'm not sure if it was virus checker, hotmail or browser that was stripping the content.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint