locked
Where is the F5 Starting Debugging Dialog box option "[_] Do not show this dialog box" in the VS configuration? RRS feed

  • Question

  • I hate bothering folks for this silly thing but I am spending too much time looking for this.

    Where is the F5 Starting Debugging Dialog box option "[_] Do not show this dialog box" in the VS configuration?

    I accidentally checked this option and now I don't get the box nor a build when the code was obviously changed, it goes straight to running the code (under debug) without recompiling code.

    Honestly, this was never quite working right ever since VS2010.  Sometimes it correctly detected no build was needed so it didn't prompt showing all the dependencies that needs to be built, and even if it did pop up when the code was not changed, I would just hit OK and it won't build the projects anyway. So I never worried about it but I never turned it off.   

    Now that I turned it off, it doesn't build the changed code at all.

    Where can I enabled the box again (uncheck the option)? It is under the VS tools options? I could not find it.

    Thanks

    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com


    Tuesday, April 30, 2019 6:47 PM

Answers

  • Found it!.  

    Apparently, hitting F5 will only build/make the project and show the box, if necessary, when the project is enabled in the configuration manager.  I  had the project wcDraw build disabled for Debug x86 configuration!

    I didn't know that. :) 

    PS: But note, hitting F5 does not make the other projects enabled in the build configuration setup. It applies only to the Startup Project, as long time expected in all IDEs ever invented -- you have one primary project that will run.  


    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com


    Tuesday, April 30, 2019 10:24 PM

All replies

  • For example, in VS2015 - Tools->Options->Projects and Solutions->Build and Run -

    Tuesday, April 30, 2019 7:31 PM
  • Yes, I have that. For sure. I would not have asked but I should of noted I have that on. 



    There is some other setting and I think I found it is per project configuration.  Other projects show the box, including the 64 bit build of the same project where the 32 bit version did not work.

    Project wcDraw:  Debug x86

    Hitting F5 went directly to run the app.




    But with the Debug x64 bit build,  hitting F5 shows the box again:



    So I tried the Debug Win32 configuration and it works again:



    So where is this build box prompt per project configuration location?  Is this in the registry? <g>

    Thanks

     


    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com

    Tuesday, April 30, 2019 9:50 PM
  • Like I said, I spent too much time on this build box.  I got my debugging work done under the 64 bit compile.   But it raises a question about Win32 vs x86 configurations.

    Ever since I started this new 128+ projects production going from decades of building one configuration 32 bit XP support to now  4 - 32/64 bit  XP/Non-XP configurations,  and going thru a tedious process of making all the proper IDE configuration changes, singly or globally,  to be all batch built, I got to a point where I noticed the Win32 and X86 configuration were one in the same.   If I selected Win32 or X86 configurations, I noticed that it didn't matter. 

    So I thought, but now I don't think so.  If build options can be different, I will to make sure to check for a Win32 or x86 build only.

    Is there a difference I should pay attention to, sticking with one platform or the other?

    Thanks


    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com





    Tuesday, April 30, 2019 10:12 PM
  • Found it!.  

    Apparently, hitting F5 will only build/make the project and show the box, if necessary, when the project is enabled in the configuration manager.  I  had the project wcDraw build disabled for Debug x86 configuration!

    I didn't know that. :) 

    PS: But note, hitting F5 does not make the other projects enabled in the build configuration setup. It applies only to the Startup Project, as long time expected in all IDEs ever invented -- you have one primary project that will run.  


    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com


    Tuesday, April 30, 2019 10:24 PM
  • Win32 and x86 should be seen as synonymous.

    The Visual Studio IDE itself sees it as synonymous:

    So you should look for both, and choose the one which is available.

    It would be nice if Microsoft made it consistent though.


    This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.

    Tuesday, April 30, 2019 10:56 PM
  • Thank you.  Now I can move on with confidence on Win32, x86 compiles. :)  Thanks

    Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com

    Wednesday, May 1, 2019 2:00 AM