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

  • Home
  • SEARCH
  • 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 495631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:36:42+00:00 2026-05-13T05:36:42+00:00

OK this is an odd one. I wanted to install ASP.NET MVC 2 Beta

  • 0

OK this is an odd one.

I wanted to install ASP.NET MVC 2 Beta 2, so I uninstalled VS2010 Beta 2 (which I wasn’t using anyway) and installed MVC 2.

I then upgraded one of my projects to MVC 2 but noticed that if I try to set a breakpoint on any of my view models (classes in the Models folder) I get an error message about debug symbols.

“The breakpoint will not currently be hit…”

Then I tried to debug one of my old MVC 1 projects and noticed the same symptom.

I’ve now uninstalled MVC beta 2, repaired Visual Studio 2008 and still get this with my existing projects.

What’s especially strange is that breakpoints anywhere else in the project (controllers, helper methods etc) ARE being hit successfully.

So I guess the question is, what is unique about my view models in the models folder that is causing breakpoints to not be loaded.

Here is an example view model…

using System.Collections.Generic;
using System.Web.Mvc;
using MountKitSearch.Core.DTO.MountKit;

namespace MountKitSearch.Web.ViewModels
{
    public class MountKitSearchViewModel
    {
        public string Distributor { get; set; }
        public SelectList VehicleMakes;
        public SelectList VehicleModels;
        public SelectList VehicleTypes;
        public SelectList VehicleEngines;
        public ICollection<MountKitDetailsDTO> MountKits;
    }
}

Unfortunately I’m not sure which of the two events (uninstalling VS2010, installing MVC2) caused the problem!

  • 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-13T05:36:42+00:00Added an answer on May 13, 2026 at 5:36 am

    Attempting to debug an Automatic Property was actually the cause of this error.

    There is no good reason to debug an automatic property (as by definition they contain no logic).

    All other breakpoints are working fine (and I am an idiot!).

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

Sidebar

Related Questions

I guess this is an odd one, and the answer is most likely it
Very odd problem as this is working perfectly on our old Classic ASP site.
This is an odd thing I've just run into. I have a web application
OK, this is an odd request, and it might not even be fully true...
This might be an odd question, but when I scale my image in C#
I'm having a rough time with this membership stuff. OK, so, it's really odd.
This is a bit of a long shot, but if anyone can figure it
This is starting to vex me. I recently decided to clear out my FTP,
This is kinda oddball, but I was poking around with the GNU assembler today
This might seem like a stupid question I admit. But I'm in a small

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.