Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Re-enable warning when attempting to debug release build?

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?

like image 219
Frosty840 Avatar asked Feb 13 '18 09:02

Frosty840


People also ask

How do I change Debug to Release?

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.

How do I know if a build is 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.

What is difference between Release and debug mode?

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.


1 Answers

Goto Tools -> Options.

Check the option for "Warn if no user code on launch"

Sreenshot
click to enlarge the picture

like image 136
Sudeep Reddy Avatar answered Oct 26 '22 05:10

Sudeep Reddy