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 Energia - double compile (Read 3240 times)
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Energia - double compile
Apr 6th, 2014 at 6:34am
Print Post  
Hi Tim
It looks like there is a double compile every time that I use the debug button.
It would seem to compile normal first and then recompile for debug. Am I missing a setting maybe?

Code
Select All
Compiling 'BarometricPressureWebServer' for 'LaunchPad (Tiva C) w/ tm4c129 (120MHz)'
Binary sketch size: 42 908 bytes (used 4% of a 1 048 576 byte maximum) (9,91 secs)
.
The usb debugger has been activated in 'Automatic Debugging' mode
.
Compiling debug version of 'BarometricPressureWebServer' for 'LaunchPad (Tiva C) w/ tm4c129 (120MHz)'
Binary sketch size: 43 044 bytes (used 4% of a 1 048 576 byte maximum) (11,21 secs)
Uploading to I/O board using 'USB'
Found ICDI device with serial: 0F000C6C
ICDI version: 12245

Done uploading
 

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Energia - double compile
Reply #1 - Apr 6th, 2014 at 6:26pm
Print Post  
Yes that's right. For newer users a release compile to check their code then another with breakpoints (because injected debug code errors can be confusing)

The release compile can be switched off in the project properties ValidationSkip=True

You can also enable debugging for an individual project and configuration such as Debug. 

Set "(Micro Debug)=Full" in the project properties. Then switch off "tools>visual micro>automatic debugging" which will remove the additional prompt we see in the output.
  
Back to top
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Energia - double compile
Reply #2 - Apr 6th, 2014 at 6:31pm
Print Post  
Thanks Tim Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint