Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / September 2003

Tip: Looking for answers? Try searching our database.

Get rid of "Build before Debug" MessageBox?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Axel Dahmen - 16 Sep 2003 14:02 GMT
Hi,

when applying changes to the code and hitting [F5] to debug, a MessageBox
pops up asking me if I want to build before debugging. Of course I want,
that's why I've changed the code... Is there a simple way to suppress this
MessageBox in Studio 7 and to start a Build-Debug sequence immediately?

TIA,
Axel Dahmen
Ken Alverson - 16 Sep 2003 15:37 GMT
> when applying changes to the code and hitting [F5] to debug, a MessageBox
> pops up asking me if I want to build before debugging. Of course I want,
> that's why I've changed the code... Is there a simple way to suppress this
> MessageBox in Studio 7 and to start a Build-Debug sequence immediately?

Not exactly a direct answer to your question, but I'm in the habit of hitting
shift-F5 to stop debugging and ctrl-shift-b to build before I hit F5 to debug.
That also gets around the build-failed-do-you-still-want-to-debug message.

Ken
Doug Forster - 17 Sep 2003 03:17 GMT
Hi Axel,

Its simple - you need a macro. Try making one like this:

Sub SaveBuildAndDebug()

DTE.ExecuteCommand("File.SaveAll")

DTE.Solution.SolutionBuild.Build(True)

DTE.Debugger.Go(True)

End Sub

Then make a custom keyboard scheme and attach the F5 key to your new macro.
You can do darned near anything with macros!

Cheers

Doug Forster

> Hi,
>
[quoted text clipped - 5 lines]
> TIA,
> Axel Dahmen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.