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 does Visual Studio just not work ?

Why does Visual Studio just not work ?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestionasp-netcom
27 Posts 18 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.
  • C Christian Graus

    I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

    In answer to the specific question of the title, I suspect this is because Microsoft developers rush product out the door due to the marketeers - whether it is fully tested or not. I have problems with VS2010 at least once a day - and I am not a particularly heavy user (although my dietitian would argue the case!) A particularly annoying aspect is when an unhandled exception is raised, with the nice little alert box showing the message, with a line pointing to the line of code throwing the exception? Almost every time I get this, the screen corrupts, so I cannot see the line properly - sometimes moving it from one monitor to the other corrects the fault, sometimes restarting VS (a royal pain in the middle of debugging) and sometimes I just go home.. I have had breakpoints effectively stop working before, too. so, little comfort though it may be, you're not alone...

    ___________________________________________ .\\axxx (That's an 'M')

    A M 2 Replies Last reply
    0
    • C Christian Graus

      I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      A Offline
      A Offline
      Andy Brummer
      wrote on last edited by
      #7

      If you are running in IIS, IISReset usually clears that up. You might have to kill the process if it is too borked up, but unless you are Christian Graus or using his equipment you shouldn't have to restart windows. I have learned to be very cautious with code that runs in app, request, session, startup/shutdown or in a static constructor. I don't do anything that connects to a database for example in any of those scenarios. Instead I do an asyncronous call, making sure the code does a retry in case the database server is down, etc.

      Curvature of the Mind now with 3D

      C 1 Reply Last reply
      0
      • A Andy Brummer

        If you are running in IIS, IISReset usually clears that up. You might have to kill the process if it is too borked up, but unless you are Christian Graus or using his equipment you shouldn't have to restart windows. I have learned to be very cautious with code that runs in app, request, session, startup/shutdown or in a static constructor. I don't do anything that connects to a database for example in any of those scenarios. Instead I do an asyncronous call, making sure the code does a retry in case the database server is down, etc.

        Curvature of the Mind now with 3D

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #8

        I don't connect to a database, I build everything from XML and the file system. I am using the web server built in to VS, and yes, I wondered if it was just staying started in the background.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        A 1 Reply Last reply
        0
        • C Christian Graus

          I don't connect to a database, I build everything from XML and the file system. I am using the web server built in to VS, and yes, I wondered if it was just staying started in the background.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          A Offline
          A Offline
          Andy Brummer
          wrote on last edited by
          #9

          When they built the original ASP.net engine they were transitioning over from VBScript and VB6.0 to C# with as little code changes as possible. Because of that there are a lot of blocking actions, and events that aren't that robust under exceptions, etc. I also remembered one of the things that caused a bunch of hangs is exceptions that escaped from the ASP.Net handler. They usually lead to the DW20 (Doctor watson) process doing a dump which locked the process for upwards of 20 minutes unless you did a hard kill on the process. Turning that off made debugging easier, however it's best to be extra cautious making sure everything is caught and logged from all those critical paths.

          Curvature of the Mind now with 3D

          1 Reply Last reply
          0
          • Y Yusuf

            Error 0x5004S: Expected 'Why --- Sucks Today' Description: The subject does not comfirm to the standard. Try 'Why VS Sucks Today' ;P

            Yusuf May I help you?

            N Offline
            N Offline
            Nithin Sundar
            wrote on last edited by
            #10

            That has got to be the best compiler ever. Period. Comma. Backspace. :D

            My Blog What you do, when you don't know what to do is what you do when you don't want to do what you do.

            1 Reply Last reply
            0
            • L Lost User

              In answer to the specific question of the title, I suspect this is because Microsoft developers rush product out the door due to the marketeers - whether it is fully tested or not. I have problems with VS2010 at least once a day - and I am not a particularly heavy user (although my dietitian would argue the case!) A particularly annoying aspect is when an unhandled exception is raised, with the nice little alert box showing the message, with a line pointing to the line of code throwing the exception? Almost every time I get this, the screen corrupts, so I cannot see the line properly - sometimes moving it from one monitor to the other corrects the fault, sometimes restarting VS (a royal pain in the middle of debugging) and sometimes I just go home.. I have had breakpoints effectively stop working before, too. so, little comfort though it may be, you're not alone...

              ___________________________________________ .\\axxx (That's an 'M')

              A Offline
              A Offline
              Albert Holguin
              wrote on last edited by
              #11

              that's why i still develop with VS2008 SP1... ;)

              1 Reply Last reply
              0
              • C Christian Graus

                I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #12

                With allo the weirdness that happens on pretty much every machine you use, have you checked to ensure your house isn't sitting on some ley lines or something?

                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                C 1 Reply Last reply
                0
                • C Chris Maunder

                  With allo the weirdness that happens on pretty much every machine you use, have you checked to ensure your house isn't sitting on some ley lines or something?

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #13

                  When I had my back problems years ago, I went to a physio who suggested the problem was an underground river that run below my office....

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  C 1 Reply Last reply
                  0
                  • C Christian Graus

                    When I had my back problems years ago, I went to a physio who suggested the problem was an underground river that run below my office....

                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #14

                    That's gold.

                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                    M 1 Reply Last reply
                    0
                    • C Christian Graus

                      I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                      T Offline
                      T Offline
                      Tomz_KV
                      wrote on last edited by
                      #15

                      I sometimes saw other behaviors that cause a page to display wrong results. It requires a computer reboot to fix it (restarting VS would not help).

                      TOMZ_KV

                      1 Reply Last reply
                      0
                      • C Christian Graus

                        I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                        B Offline
                        B Offline
                        Bob1000
                        wrote on last edited by
                        #16

                        If using VS2010 - that's your problem. It's a well known fact that you should never use any version of VS until at least the second service pack! Note There is a difference in terminology with providers A Google Beta release means its a release version A Microsoft release means its a Beta version :) Has Google ever actually released anything that isn't a Beta ?

                        M 1 Reply Last reply
                        0
                        • C Christian Graus

                          *grin* well, in this case, I was doing a HUGE file copy, and I'm not sure if that was related to slowing my machine down at least, but yes, it does seem like I get all the breaks, sometimes.

                          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                          A Offline
                          A Offline
                          Avinash Tauro
                          wrote on last edited by
                          #17

                          Maybe you should use MSMQ for the huge file copy operation. How huge is the file though? I've used VS 2010 since the day it was available on MSDN, and never had a serious problem. It is definitely more stable than VS 2008. I still use 2008 sometimes for my older projects which I haven't yet migrated to 2010, and I miss VS2010 every minute.

                          1 Reply Last reply
                          0
                          • C Christian Graus

                            I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                            C Offline
                            C Offline
                            chaq686
                            wrote on last edited by
                            #18

                            That's used to happen to me when I open the same project twice. And sometime you have load the symbols. The break points are on the pbd files.

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                              Y Offline
                              Y Offline
                              Yortw
                              wrote on last edited by
                              #19

                              It's because you're writing a web site/app. I write smart clients and I never have that kind of problem ;P (In case anyone misses the emoticon, that was intended as a joke. Now that I've explained that, it's not funny. I know.)

                              1 Reply Last reply
                              0
                              • C Christian Graus

                                I have some code in my application start, for an ASP.NET web site. I was running it with breakpoints, and suddenly, the breakpoints stopped working. So, I closed VS and reopened. It's frozen on trying to open my website, I think I need to reboot.

                                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                J Offline
                                J Offline
                                johnsyd
                                wrote on last edited by
                                #20

                                Just plain broken. Ask VS to Find Definition of a function sitting a few lines above in same source file? (a) Nope, doesn't exist (b) Here is a list of 67 places a function of that name exists in the Solution - please pick one. (c) Occasionally, it will take you where you want And also, it can take over a minute to work this out. Ask VS to Find Declaration of the function definition you're sitting on? Most of the time, it grinds away for a minute only to sink back exhausted on the definition again. Build? If you're lucky! (a) Sometimes it actually identifies all the changed source and recompiles those objects - yay! (b) Often it misses some changed source and does not recompile the objects - yes, those projects are ticked as dependencies of the executable :-( (c) Quite often the incremental linker loses the plot and generates a corrupt binary. No kidding - I've changed one line in a method of a class in a .cpp file with not a template in sight, clicked build and then run it ... Crash! Ordinal 99 not found in ThirdParty.dll (or access violation indexing into std::vector is an old favourite) Sigh ... Rebuild ... Run ... Crash! Ordinal 99 etc. Grrrr ... Manually delete all the output object files, intermediate linker files, executable, etc. Build ... Run ... Works now (phew). VS2008 SP1 was a bit quirky but Vs2010 lives in a full-blown psychotic episode.

                                1 Reply Last reply
                                0
                                • L Lost User

                                  In answer to the specific question of the title, I suspect this is because Microsoft developers rush product out the door due to the marketeers - whether it is fully tested or not. I have problems with VS2010 at least once a day - and I am not a particularly heavy user (although my dietitian would argue the case!) A particularly annoying aspect is when an unhandled exception is raised, with the nice little alert box showing the message, with a line pointing to the line of code throwing the exception? Almost every time I get this, the screen corrupts, so I cannot see the line properly - sometimes moving it from one monitor to the other corrects the fault, sometimes restarting VS (a royal pain in the middle of debugging) and sometimes I just go home.. I have had breakpoints effectively stop working before, too. so, little comfort though it may be, you're not alone...

                                  ___________________________________________ .\\axxx (That's an 'M')

                                  M Offline
                                  M Offline
                                  Michael Kingsford Gray
                                  wrote on last edited by
                                  #21

                                  I use VS for at least 5 hours every day, and never ever have these problems. Mine runs as smooth as silk. But I run 64 bit Vista, with 8Gb of ram. Perhaps that is what is rendering it stable?

                                  L 1 Reply Last reply
                                  0
                                  • B Bob1000

                                    If using VS2010 - that's your problem. It's a well known fact that you should never use any version of VS until at least the second service pack! Note There is a difference in terminology with providers A Google Beta release means its a release version A Microsoft release means its a Beta version :) Has Google ever actually released anything that isn't a Beta ?

                                    M Offline
                                    M Offline
                                    Michael Kingsford Gray
                                    wrote on last edited by
                                    #22

                                    Utter cobblers.

                                    B 1 Reply Last reply
                                    0
                                    • M Michael Kingsford Gray

                                      Utter cobblers.

                                      B Offline
                                      B Offline
                                      Bob1000
                                      wrote on last edited by
                                      #23

                                      Ooops someone without a sense of humour! The truth is VS2010 is a product that is virtualy unusuable with native C++, looking forwards to SP2!

                                      1 Reply Last reply
                                      0
                                      • M Michael Kingsford Gray

                                        I use VS for at least 5 hours every day, and never ever have these problems. Mine runs as smooth as silk. But I run 64 bit Vista, with 8Gb of ram. Perhaps that is what is rendering it stable?

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

                                        Michael K Gray wrote:

                                        I use VS for at least 5 hours every day, and never ever have these problems. Mine runs as smooth as silk. But I run 64 bit Vista, with 8Gb of ram. Perhaps that is what is rendering it stable?

                                        I use VS2008 sometimes 12 hours in a day - can't think of more than once or twice in a couple of years where the IDE crashed or became unstable. I use it on my own equipment (64-bit W7, 32-bit W7) using VSS and on the office machine (32-bit W7 using TFS). Never have any problems with it. I don't do much web development but have done some and it runs stable, no problems. Sorry to hear people are having trouble with it. Glad I ain't among them! -Max

                                        A 1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          That's gold.

                                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                          M Offline
                                          M Offline
                                          Matthew Page
                                          wrote on last edited by
                                          #25

                                          I think you need to cover your office floor, walls and ceiling with tin foil... You need to rule out the induced-electrical-flow-from-flowing-water syndrome possibility... To be on the safe side, you should wrap yourself with tin foil... This will rule out the jynx effect...

                                          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