Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why VS2010 sucks today...

Why VS2010 sucks today...

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiowinformstestingbeta-testing
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #1

    Trying to make a custom component in WinForms. Created the component and dragged it on to a Form for testing. Result: Practically every change I make to the component crashes VS2010 as soon as I open the Form designer... :mad: I understand some changes might mess up the designer (although I'd expect an error rather than a crash). I've done this before, but VS never crashed THIS much! :confused:

    It's an OO world.

    public class Naerling : Lazy<Person>{
    public void DoWork(){ throw new NotImplementedException(); }
    }

    V Mike HankeyM 2 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      Trying to make a custom component in WinForms. Created the component and dragged it on to a Form for testing. Result: Practically every change I make to the component crashes VS2010 as soon as I open the Form designer... :mad: I understand some changes might mess up the designer (although I'd expect an error rather than a crash). I've done this before, but VS never crashed THIS much! :confused:

      It's an OO world.

      public class Naerling : Lazy<Person>{
      public void DoWork(){ throw new NotImplementedException(); }
      }

      V Offline
      V Offline
      vinayvraman
      wrote on last edited by
      #2

      Have ya installed the VS 2010 SP1? The VS 2010 used to crash a lot in my system before installing the above update!

      Sander RosselS 1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        Trying to make a custom component in WinForms. Created the component and dragged it on to a Form for testing. Result: Practically every change I make to the component crashes VS2010 as soon as I open the Form designer... :mad: I understand some changes might mess up the designer (although I'd expect an error rather than a crash). I've done this before, but VS never crashed THIS much! :confused:

        It's an OO world.

        public class Naerling : Lazy<Person>{
        public void DoWork(){ throw new NotImplementedException(); }
        }

        Mike HankeyM Offline
        Mike HankeyM Offline
        Mike Hankey
        wrote on last edited by
        #3

        I've also run into that (and other problems) and wish there was a way to temporarily turn off parsing till problem can be resolved.

        This sig, like my mind intentionally left blank.

        1 Reply Last reply
        0
        • V vinayvraman

          Have ya installed the VS 2010 SP1? The VS 2010 used to crash a lot in my system before installing the above update!

          Sander RosselS Offline
          Sander RosselS Offline
          Sander Rossel
          wrote on last edited by
          #4

          Not sure... Working from home on a virtual machine right now. On my own computer I never had these problems. I think VS crashed about 15 times in the last couple of hours... Even a simple modification like checking for a null value somewhere in my component crashes VS as soon as I get into the designer after the change. It's ridiculous. Not sure if I have the priviledges to install updates on this machine, but I'll ask my boss about it first thing in the morning tomorrow :thumbsup:

          It's an OO world.

          public class Naerling : Lazy<Person>{
          public void DoWork(){ throw new NotImplementedException(); }
          }

          V L V 3 Replies Last reply
          0
          • Sander RosselS Sander Rossel

            Not sure... Working from home on a virtual machine right now. On my own computer I never had these problems. I think VS crashed about 15 times in the last couple of hours... Even a simple modification like checking for a null value somewhere in my component crashes VS as soon as I get into the designer after the change. It's ridiculous. Not sure if I have the priviledges to install updates on this machine, but I'll ask my boss about it first thing in the morning tomorrow :thumbsup:

            It's an OO world.

            public class Naerling : Lazy<Person>{
            public void DoWork(){ throw new NotImplementedException(); }
            }

            V Offline
            V Offline
            vinayvraman
            wrote on last edited by
            #5

            Also check class's ctor and onload functions... sometimes if you haven't checked for "DesignMode" property before executing some tasks like fetching values from db in above 2 methods, then they may fail and result in VS crashing without any proper error message, esp. so when you try to open the designer. :sigh:

            Sander RosselS 1 Reply Last reply
            0
            • V vinayvraman

              Also check class's ctor and onload functions... sometimes if you haven't checked for "DesignMode" property before executing some tasks like fetching values from db in above 2 methods, then they may fail and result in VS crashing without any proper error message, esp. so when you try to open the designer. :sigh:

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #6

              Nah, that's not it. I copied the constructor part from one of my other projects that never had that problem :)

              It's an OO world.

              public class Naerling : Lazy<Person>{
              public void DoWork(){ throw new NotImplementedException(); }
              }

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                Not sure... Working from home on a virtual machine right now. On my own computer I never had these problems. I think VS crashed about 15 times in the last couple of hours... Even a simple modification like checking for a null value somewhere in my component crashes VS as soon as I get into the designer after the change. It's ridiculous. Not sure if I have the priviledges to install updates on this machine, but I'll ask my boss about it first thing in the morning tomorrow :thumbsup:

                It's an OO world.

                public class Naerling : Lazy<Person>{
                public void DoWork(){ throw new NotImplementedException(); }
                }

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Naerling wrote:

                Not sure... Working from home on a virtual machine right now.

                That actually could be the problem... when you run a 'Debug' version of an application within the VS compiler... it is using physical cpu hardware registers DR0 through DR7. If the host machine has any applications using those registers there could potentially be a conflict. Best Wishes, -David Delaune

                1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  Not sure... Working from home on a virtual machine right now. On my own computer I never had these problems. I think VS crashed about 15 times in the last couple of hours... Even a simple modification like checking for a null value somewhere in my component crashes VS as soon as I get into the designer after the change. It's ridiculous. Not sure if I have the priviledges to install updates on this machine, but I'll ask my boss about it first thing in the morning tomorrow :thumbsup:

                  It's an OO world.

                  public class Naerling : Lazy<Person>{
                  public void DoWork(){ throw new NotImplementedException(); }
                  }

                  V Offline
                  V Offline
                  Valery Possoz
                  wrote on last edited by
                  #8

                  I have the same issues on my work computer, it's a Windows XP PC :(. On my personal PC which is Windows 7 64b I barely have any crashes at all! It seems that on a 32bit Os VS can not see more than 2gb, and when as you start using add-ins you get frequent out of memory exceptions. I recently installed reSharper on my XP box and got out of mememory exception while loading a solution, I was not even able to work.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups