Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

debug deploy question


  • Please log in to reply
2 replies to this topic

#1 perkunas

perkunas

    Advanced Member

  • Members
  • PipPipPip
  • 108 posts

Posted 09 January 2015 - 06:50 PM

When i deploy the program, whats diference if I deploy it using release. I assume it wont debug, but as the program works, I dont need that either, whats the advantage if any?.

Thanks



#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 09 January 2015 - 09:02 PM

Normally debug code contains additional instructions which aid debugging but it also makes the code larger and slower.  Release code does not contain the debug instructions which makes it smaller and faster but also means you cannot debug the application using the IDE (i.e. VS).

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 Miha Markic

Miha Markic

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts
  • LocationNova Gorica, Slovenia

Posted 10 January 2015 - 12:15 PM

There is also opportunity for optimizations of code in release version (which falls into smaller and faster category).


Miha Markic, Microsoft MVP C#
Righthand .net consulting and software development
http://blog.rthand.com/





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.