Main Site Documentation

Debug / release


i’ve a little question about the debug function.

For debugging my project i’ve put a lot of Debug.print inside the code.

If i make a real release of my project (for my fez panda 2), are the debug.print lines sent to the board ?
Or are these line only actives when debugging ?

thanks for your help


Debug.print is not removed in release version.If you want it to be out of release you will need to use #ifdef. Search the forum we had that discussion before and there were several approaches suggested.