By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,908 Members | 2,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,908 IT Pros & Developers. It's quick & easy.

Get rid of "Build before Debug" MessageBox?

P: n/a
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
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Axel Dahmen" <No****@NoOneKnows.de> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...

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
Nov 16 '05 #2

P: n/a
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

"Axel Dahmen" <No****@NoOneKnows.de> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...
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

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.