Visual Studio 2008 broken Intellisense when debugging C# code

I was having an issue on my laptop where the Intellisense was broken when debugging C# code.  It is working for VB.NET code.  Here’s what it looks like for VB.NET when you start to type a variable name in the Watch window when in the debugger:

vb.net-intellisense-working

The problem is if I debug a C# project and try the same thing, I get nothing.  No Intellisense even using the Ctrl-Space keyboard shorcut.  Even the Immediate Window doesn’t work.

Since on my laptop I have ReSharper and a bunch of other add-ins installed, I chalked it up to some kind of conflict.  But today, I just rebuilt a desktop workstation and put a clean install of Visual Studio 2008 Team System with SP1 and nothing else installed.  Guess what… the problem still exists for me.  Some Google searches also didn’t help.  It doesn’t look like anyone else is having this issue, so I figured I better get a blog post about it in case you are in the same situation. I will update this post if I find a solution.

Please comment if you are having the same issue, or even better had the issue but found a fix!  :-)

5 Responses to “Visual Studio 2008 broken Intellisense when debugging C# code”

  1. Danny Byers Says:

    I am experiencing a similar issue. When coding a Script Component in an SSIS designer, I have full intellisense. When I create a different type of project in VSTS, I lose the intellisense for local variables. When I press ‘Ctrl+Space’, the editor simply adds a space; it does not toggle the intellisense popup.

    This laptop does not have resharper installed on it.

  2. Danny Byers Says:

    This solution worked for me, but I can’t explain it:

    I used the Import/Export settings option to import settings from “CurrentSettings”. Whatever was out-of-synch was fixed by that operation.

    Typically, I like to understand the “why” behind an operation, but, these days, with everything that Microsoft breaks in each subsequent release, I’m finding myself in a place where I don’t really care anymore.

    The feature sets in the Visual Studio and SQL Server IDEs are increasing but, the quality is definitely decreasing.

  3. Christopher Hujanen Says:

    I think you are on to something Danny. When I tried to do that, I actually got an error and wasn’t able to import any settings. Seems like there is just something wrong with my install. I will continue to limp along until 2010 I guess. :(

  4. Rishav Gupta Says:

    i am having the same problem,. please reply if you find any solution,.

  5. hilmitest Says:

    Same problem it is working for VB but not for C#


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.