Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1008679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:48:29+00:00 2026-05-16T08:48:29+00:00

I am using the debugger to step through my code. The code file I’m

  • 0

I am using the debugger to step through my code. The code file I’m in has usings at the top, including for example

using System.Linq;

In Visual Studio 2008 this used to apply to the Watch window while debugging, so I could use extension methods such as .First() and .ToArray() in the watch window.

For some reason, this has stopped working in Visual Studio 2010. And it’s not just extension methods; I now have to qualify every type with the full namespace, which is really annoying.

What’s even weirder is that the IntelliSense inside the Watch window acts as if the usings were present. In other words, it does list .ToArray() for example. But then the Watch window displays the error message

‘<type>’ does not contain a definition for ‘ToArray’ and no extension method ‘ToArray’ accepting a first argument of type ‘<type>’ could be found (are you missing a using directive or an assembly reference?)

So now I always have to type the really long and annoying

System.Linq.Enumerable.ToArray(blah)

How do I fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:48:30+00:00Added an answer on May 16, 2026 at 8:48 am

    Like many bugs, it disappeared and I have no idea why. 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Usually using Visual Studio's debugger is a breeze. Scanning through Locals quickly shows the
I'm using the gdb debugger to step through my code to verify my logic
I am extending the Visual Studio 2003 debugger using autoexp.dat and a DLL to
I am using Microsoft Visual Studio debugger to debug a remote application. These are
I'm searching for a way to block the Visual Studio debugger to step into
Ever since VS2010 when I step through code using F8 I get uncessary text
VS2008, C. Also using some pre-built libraries. When I step through my code in
While using perl debugger, is there any way to step out of the current
I'm viewing variables using the debugger. In debug builds everything in the code below
Using the VS2010 debugger for managed code is it possible to trigger the finalizer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.