Creativity, Innovation... Failure



Visual Studio 2005: Annoyance #1

We are all doing it!  We code then press 'F5' to test. But then on, especially when you are programming with C# you certainly use from time to time the 'Edit and Continue' feature. Right? I am but sometimes it gets annoying: upon pressing the pause button, you're always prompted to the main() function.

When using it extensively it turns out to be a pain in the ass ... Yell   So I decided to share how I resolved this issue.   First I took a look into the Tools>Options menu but found nada so I asked myself what can be done?   A MACRO!   So I simply had to find out how to break (1st line) and then how to prompt to the last document (2nd line).

Public Module RecordingModuleSub PAUSE_AND_CURRENT()
     DTE.Debugger.Break(True)
    
DTE.ExecuteCommand ("Window.NextDocumentWindowNav")
End Sub

So now we need this macro to be called when we pause.

  • Open up the "Macro explorer" from the Tools>Macro menu.

  • Create a macro and copy-paste the code above.

  • Save.

  • Go in the toolbar customization and a button with this macro.

  • Draw a nice icon for your button.

  • Enjoy!

If you know a better way let me know.


Comments

November 11. 2009 17:10

online personal loans

Thank you for your help!

online personal loans

November 16. 2009 21:03

payday loans

I like your blog but how do I subscribe?

payday loans

December 6. 2009 18:51

payday loans

Hmmm interesting stuff

payday loans

December 7. 2009 19:28

cash loans

I always wanted to write in my site something like that but I guess you'r faster Smile

cash loans

December 31. 2009 22:52

Sebastian

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

Sebastian

January 6. 2010 22:46

Abigail

I have been looking for content like this for a research project I am working. Thanks very much.

Abigail

January 6. 2010 22:46

Willow

hi buddy, I found your site from wikipedia and read a few of your other blog posts.They are cool. Pls continue this great work.

Willow

January 8. 2010 03:33

faxless loans

Just wanted to say thanks for this.

faxless loans

January 12. 2010 21:10

payday loans

Yea nice Work !Laughing

payday loans

February 14. 2010 14:54

fast payday loans

The only way to find the limits of the possible is by going beyond them to the impossible.

fast payday loans

March 4. 2010 11:38

ucvhost

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

ucvhost

March 15. 2010 01:50

healthynow

Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it's nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere. This was the first place that told me the answer. Thanks.

healthynow

April 3. 2010 07:36

Olympia Levanger

I wish you a successful implementation of your idea and will be waiting for http://www.connotea.org/user/ofself more interesting ideas from you. Thank you very much http://faves.com/users/ofself for sharing your ideas.

Olympia Levanger

April 5. 2010 07:14

Dorian Dimitriou

Intimately, the post is actually the best on this laudable http://www.jumptags.com/thigpenmorgan/ topic. I harmonize with your conclusions http://www.mister-wong.com/user/thigpenmorgan/ and saying thanks will not just be adequate, for the fantastic lucidity in your writing.

Dorian Dimitriou

April 8. 2010 04:07

smoked turkey recipe

It does seem that everybody is into this kind of stuff lately. Don’t really understand it though, but thanks for trying to explain it. Appreciate you shedding light into this matter. Keep it up

smoked turkey recipe

April 9. 2010 02:06

Daren Fuhrman

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Daren Fuhrman

April 10. 2010 16:59

Bobbie Degele

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Bobbie Degele

April 17. 2010 18:13

Fabian Stenehjem

d

Fabian Stenehjem

April 22. 2010 14:11

bicycle storage shed

e

bicycle storage shed

April 27. 2010 16:13

no fax personal loans

He who fears being conquered is sure of defeat.

no fax personal loans

May 30. 2010 11:57

guru blueprint

Nice find here.

guru blueprint

May 30. 2010 13:17

designer handbag

There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game.

designer handbag

June 4. 2010 08:41

wallets bags

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

wallets bags

June 26. 2010 19:43

bags fendi

What a great info, thank you for sharing. this will help me so much in my learning.

bags fendi

July 8. 2010 16:29

online vegas casinos

Seems like a simple bug - nothing more.Thanks for telling us the way of it's solution!

online vegas casinos

July 10. 2010 11:49

kitchen floor mats

I was looking for crucial information on this subject. The information was important as I am about to launch my own portal. Thanks for providing a missing link in my business.

kitchen floor mats

July 15. 2010 17:23

cartier santos

You make some good points there. Based on my own experience, I would tend to agree with you.

cartier santos

July 19. 2010 09:51

Jess Parsons

Your penning manner is pleasing and also the way you managed the topic with grace is commendable. I'm intrigued, I presume you are an expert on this subject. I just sign up for the RSS feed. Smile

Jess Parsons

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading