rickgaribay.net

Space shuttles aren't built for rocket scientists, they're built for astronauts. The goal isn't the ship, its the moon.
posts - 303, comments - 180, trackbacks - 35

My Links

News

Where's Rick?


AgileAlliance deliver:Agile 2019- 4/29
Desert Code Camp, PHX - 10/11
VS Live Austin, TX - 6/3
VS Live SF - 6/17


About Me
Hands on leader, developer, architect specializing in the design and delivery of distributed systems in lean, agile environments with an emphasis in continuous improvement across people, process and technology. Speaker and published author with 18 years' experience leading the delivery of large and/or complex, high-impact distributed solutions in Retail, Intelligent Transportation, and Gaming & Hospitality.

I'm currently a Principal Engineer at Amazon, within the North America Consumer organization leading our global listings strategy that enable bulk and non-bulk listing experiences for our WW Selling Partners via apps, devices and APIs.

Full bio

Note: All postings on this site are my own and don’t necessarily represent the views of my employer.



Check out my publications on Amazon Kindle!





Archives

Post Categories

Published Works

Fix: Can't Set Breakpoints in Visual Studio 2008

I recently uninstalled a certain productivity enhancement tool for VS 2008 which shall remain nameless because they are a good group of guys and have been very nice to me.

I uninstalled the tool, namely because I felt I was becoming a bit too dependant on it. Certainly, VS features like intellisense and basic refactoring support are not things I would willingly live without, but I feel that the features in VS are probably adequate for my needs and my IDE was starting to feel a bit clunky.

So, I uninstalled this tool, and immediately intellisense was missing. Anoying. I went into Tools->Options and re-enabled Intellisense. Life was good, or so it seemed.

For the last 5 weeks, the bane of my existence has been the fact that I couldn't set breakpoints in my code.image I could debug just fine if I right clicked + Breakpoints + Insert Breakpoint, or use F9, but when I tried to set the breakpoint on the left pane, as shown here, it just wouldn't work at all:

I was giving a class on TDD to one of my biggest customers today and in desperation, having right clicked + Breakpoints + Insert Breakpoint one too many times, I offered to buy lunch to the developer who could help me fix this. Now one developer offered the F9 option as workaround, which is better than a 3 step process, and this would have helped me out. Then, about 15 minutes later, another developer said they had the fix, and sure enough, he did!

The problem was that the "Indicator Margin" had been disabled. How did this happen? Why would this happen and what the hell is an Indicator Margin? Well, I don't have proof, but I am guessing that it is that "productivity" tool that did it when I uninstalled it.

The solution was simply to go into Tools->Options->Text Editor and enable Indicator margin as shown below:

image

 

 

 

 

 

 

I am forever indebted to this customer and am sharing this tip here in case this is driving you as nuts as it has me over the last month!

Print | posted on Tuesday, April 28, 2009 1:03 PM | Filed Under [ Visual Studio ]

Feedback

Gravatar

# re: Fix: Can't Set Breakpoints in Visual Studio 2008

Thanks for the tip. This happened to me too; very frustrating.
9/30/2009 11:34 PM | Mike
Gravatar

# re: Fix: Can't Set Breakpoints in Visual Studio 2008

None of these solutions work for me...I tried all 3 solutions identified above and none of them work:

(1) My "Indicator Margin" is turned on.
(2) F9 breakpoints do not work.
(3) right clicked + Breakpoints + Insert Breakpoint doesn't work.

I am running:
(1) Windows 7 Ultimate;
(2) Visual Studio Professional 2008 SP!;
(3) IE8.

Does anyone have any ideas how I can make breakpoints work again? They just quit a few weeks ago and there are no installs/upgrades I can point my finger at as to when the problem began. I don't use breakpoints everyday, but when I need them I really need them.

Help, pleeeeeez!!!
12/12/2009 11:32 AM | Lynn Lahman
Comments have been closed on this topic.

Powered by: