When Starting/Debugging code, there is a warning dialog notifying you that you are currently on a release build and the code won't debug/breakpoint/etc. correctly.
I've just accidentally selected the fourth "Always debug anyway (Don't ask again)" option, but I'd like to continue to be warned about this.
Where can I reset this setting?
On the toolbar, choose either Debug or Release from the Solution Configurations list. From the Build menu, select Configuration Manager, then select Debug or Release.
The solution from Illegal Argument is based on the value of the android:debuggable flag in the manifest. If that is how you wish to distinguish a "debug" build from a "release" build, then by definition, that's the best solution.
By default, Debug includes debug information in the compiled files (allowing easy debugging) while Release usually has optimizations enabled. As far as conditional compilation goes, they each define different symbols that can be checked in your program, but they are language-specific macros.
Goto Tools -> Options.
Check the option for "Warn if no user code on launch"
click to enlarge the picture
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With