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. Visual Studio 2017 (non-programming) problem

Visual Studio 2017 (non-programming) problem

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharpdebugginghelpquestion
39 Posts 17 Posters 41 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

    P S P R S 14 Replies Last reply
    0
    • L Lost User

      I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

      P Offline
      P Offline
      Peter_in_2780
      wrote on last edited by
      #2

      Richard MacCutchan wrote:

      the code itself is not exactly complicated

      That's your problem! VS doesn't consider it enough of a challenge, and sulks. "Take my bat and go home"

      Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

      L 1 Reply Last reply
      0
      • L Lost User

        I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #3

        first, make sure you have all updates. second, try staring VS as admin and running the same series of steps. third, check the windows event logs. fourth, turn off any antivirus, etc. and run the series of steps again. fifth, no, this has never happened to me. Google as much as you can, and as a last resort, open a ticket with the beast. wish you the best of luck in this, especially when dealing with the beast (if you have to go that far.). Notes: I have been using VS2017 @ constant professional basis and have not even heard of the issue you are encountering.

        L M 2 Replies Last reply
        0
        • P Peter_in_2780

          Richard MacCutchan wrote:

          the code itself is not exactly complicated

          That's your problem! VS doesn't consider it enough of a challenge, and sulks. "Take my bat and go home"

          Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

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

          :laugh:

          1 Reply Last reply
          0
          • S Slacker007

            first, make sure you have all updates. second, try staring VS as admin and running the same series of steps. third, check the windows event logs. fourth, turn off any antivirus, etc. and run the series of steps again. fifth, no, this has never happened to me. Google as much as you can, and as a last resort, open a ticket with the beast. wish you the best of luck in this, especially when dealing with the beast (if you have to go that far.). Notes: I have been using VS2017 @ constant professional basis and have not even heard of the issue you are encountering.

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

            Slacker007 wrote:

            try staring VS as admin and running the same series of steps.

            The trouble is that I run the same steps every time and 9 out of 10 it workds fine. It just dies randomly. But thanks for the suggestions.

            K 1 Reply Last reply
            0
            • L Lost User

              I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

              P Offline
              P Offline
              Paulo_JCG
              wrote on last edited by
              #6

              Have a look at the hardware.These have a spike on "F5" -HDD/SSD (bad sectors, a lot of writing happening) -Memory (any issue can freeze the OS) -Graphics card (some drivers don't really fancy VS) disable graphics acceleration on VS It could also be the AV. Some other options :-D - use notepad and command line compile - use a hammer/basebal bat and fix the machine

              Paulo Gomes Measuring programming progress by lines of code is like measuring aircraft building progress by weight. —Bill Gates Everything should be made as simple as possible, but not simpler. —Albert Einstein

              C 1 Reply Last reply
              0
              • L Lost User

                I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                R Offline
                R Offline
                Reader Man San
                wrote on last edited by
                #7

                Try running the same project/solution from VS but on another PC, if no problems happen, then there is something wronge in one of your computer components that make VS hang. Remember that VS uses: HDD+RAM+CPU+GPU+LAN Controllers, to name a few, so if any one of the components have a problem, it might affect VS. I forgot: Sometimes the browsers (Chrome/firefox) get entangled with VS by a way or another. Hope for you the best.

                ___________________________________________ May god give u good health and knowledge.

                1 Reply Last reply
                0
                • L Lost User

                  Slacker007 wrote:

                  try staring VS as admin and running the same series of steps.

                  The trouble is that I run the same steps every time and 9 out of 10 it workds fine. It just dies randomly. But thanks for the suggestions.

                  K Offline
                  K Offline
                  kalberts
                  wrote on last edited by
                  #8

                  Maybe a POM-related error? Does it correlate with the moon phases?

                  L 1 Reply Last reply
                  0
                  • K kalberts

                    Maybe a POM-related error? Does it correlate with the moon phases?

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

                    Member 7989122 wrote:

                    POM-related

                    :confused:

                    K 1 Reply Last reply
                    0
                    • L Lost User

                      Member 7989122 wrote:

                      POM-related

                      :confused:

                      K Offline
                      K Offline
                      kalberts
                      wrote on last edited by
                      #10

                      Phase-Of-Moon related. Like a Heisenbug.

                      L 1 Reply Last reply
                      0
                      • K kalberts

                        Phase-Of-Moon related. Like a Heisenbug.

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

                        It never happens when the fridge door is open.

                        K 1 Reply Last reply
                        0
                        • L Lost User

                          It never happens when the fridge door is open.

                          K Offline
                          K Offline
                          kalberts
                          wrote on last edited by
                          #12

                          A true story from, my university: This happened in the late 60s (or possibly early 70s), long before individual PCs. Even timesharing OSes were not common, except on mainframes. So you had to book hours at the machine - and the book was more or less full 24/7. One student project group was spending Saturday night and Sunday morning in the lab. Then the machine suddenly stopped, refusing to read the program tapes (those were punched paper tape). The lab guy responsible for the machine treated it as his own baby, willing to do anything for it. But... he was also known for rarely being sober on a Saturday night. Sunday morning wasn't the time you'd like to wake him up. But there was a project deadline, and no other alternative. They found a telephone, and called him up. "Hrrmpf!!!" They explained the problem, he grunted "Get me car!" and slammed the phone receiver down. They found someone with a car, drove to pick up the guy, who walked into the lab, blinked a few times, went over to the window, pulled the curtains to shade the windows, and grunted "Drive me home!" Those were all the words he pronounced that morning. No explanation. But the machine was working again. This machine had a paper tape reader running at 3000 char/sec - an amazing speed: 300 in/sec, or 27 km/h. The tape shot several meters out of the reader like a beam. It didn't use mechanical sensors (like most slower paper tape readers), but photocells, which was rather fancy in those days (especially fitting photocells for 8 data tracks + sync track in a 1 inch wide space). When the early morning sun rays made a direct hit on the photocells, they shone through the paper tape, blinding the photocells so the reader wouldn't trigger on the sync track holes: The reader saw just light, believing that there was no tape there, and stalled. Shading the windows brought its vision back again. When I became a student, this machine had earbed "museum" status. But I have touched it, seen it in operation at demonstrations. The morning sun story is well known among computer science students at the university. So based on this story, I believe your claim that the problem depends on whether the fridge door is open or not :-)

                          L S 2 Replies Last reply
                          0
                          • L Lost User

                            I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                            S Offline
                            S Offline
                            Searril
                            wrote on last edited by
                            #13

                            Make a flash drive that boots to the memtest86 (or whatever it's called) and let it test your RAM for a while. I've seen quite a few funky PCs fail this test, replace the memory, and problems all gone.

                            1 Reply Last reply
                            0
                            • L Lost User

                              I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                              J Offline
                              J Offline
                              jonmbutler
                              wrote on last edited by
                              #14

                              MS employee here. I unfortunately have no connection to the VS team and am not an avid developer myself, but if you'd like a code for a free support case please let me know, I'd be happy to help get you rolling forward. -- Jon

                              L 1 Reply Last reply
                              0
                              • K kalberts

                                A true story from, my university: This happened in the late 60s (or possibly early 70s), long before individual PCs. Even timesharing OSes were not common, except on mainframes. So you had to book hours at the machine - and the book was more or less full 24/7. One student project group was spending Saturday night and Sunday morning in the lab. Then the machine suddenly stopped, refusing to read the program tapes (those were punched paper tape). The lab guy responsible for the machine treated it as his own baby, willing to do anything for it. But... he was also known for rarely being sober on a Saturday night. Sunday morning wasn't the time you'd like to wake him up. But there was a project deadline, and no other alternative. They found a telephone, and called him up. "Hrrmpf!!!" They explained the problem, he grunted "Get me car!" and slammed the phone receiver down. They found someone with a car, drove to pick up the guy, who walked into the lab, blinked a few times, went over to the window, pulled the curtains to shade the windows, and grunted "Drive me home!" Those were all the words he pronounced that morning. No explanation. But the machine was working again. This machine had a paper tape reader running at 3000 char/sec - an amazing speed: 300 in/sec, or 27 km/h. The tape shot several meters out of the reader like a beam. It didn't use mechanical sensors (like most slower paper tape readers), but photocells, which was rather fancy in those days (especially fitting photocells for 8 data tracks + sync track in a 1 inch wide space). When the early morning sun rays made a direct hit on the photocells, they shone through the paper tape, blinding the photocells so the reader wouldn't trigger on the sync track holes: The reader saw just light, believing that there was no tape there, and stalled. Shading the windows brought its vision back again. When I became a student, this machine had earbed "museum" status. But I have touched it, seen it in operation at demonstrations. The morning sun story is well known among computer science students at the university. So based on this story, I believe your claim that the problem depends on whether the fridge door is open or not :-)

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

                                I worked on a similar system in the mid/late 1960s (Leo Computers Society. Leo 3 photos[^]. In Image 1 of LEO III/6 (first computer I worked on) you can clearly see the paper tape reader. I don't know what the actual speed was but like yours "it shot several meters out of the reader like a beam.". As I recall I think the tape we used was 7 hole (6 plus parity), so you could easily tell whether it was in the reader the right way round. Fortunately our computer room was well shaded from the sun so we never had such a problem.

                                1 Reply Last reply
                                0
                                • K kalberts

                                  A true story from, my university: This happened in the late 60s (or possibly early 70s), long before individual PCs. Even timesharing OSes were not common, except on mainframes. So you had to book hours at the machine - and the book was more or less full 24/7. One student project group was spending Saturday night and Sunday morning in the lab. Then the machine suddenly stopped, refusing to read the program tapes (those were punched paper tape). The lab guy responsible for the machine treated it as his own baby, willing to do anything for it. But... he was also known for rarely being sober on a Saturday night. Sunday morning wasn't the time you'd like to wake him up. But there was a project deadline, and no other alternative. They found a telephone, and called him up. "Hrrmpf!!!" They explained the problem, he grunted "Get me car!" and slammed the phone receiver down. They found someone with a car, drove to pick up the guy, who walked into the lab, blinked a few times, went over to the window, pulled the curtains to shade the windows, and grunted "Drive me home!" Those were all the words he pronounced that morning. No explanation. But the machine was working again. This machine had a paper tape reader running at 3000 char/sec - an amazing speed: 300 in/sec, or 27 km/h. The tape shot several meters out of the reader like a beam. It didn't use mechanical sensors (like most slower paper tape readers), but photocells, which was rather fancy in those days (especially fitting photocells for 8 data tracks + sync track in a 1 inch wide space). When the early morning sun rays made a direct hit on the photocells, they shone through the paper tape, blinding the photocells so the reader wouldn't trigger on the sync track holes: The reader saw just light, believing that there was no tape there, and stalled. Shading the windows brought its vision back again. When I became a student, this machine had earbed "museum" status. But I have touched it, seen it in operation at demonstrations. The morning sun story is well known among computer science students at the university. So based on this story, I believe your claim that the problem depends on whether the fridge door is open or not :-)

                                  S Offline
                                  S Offline
                                  S Mercurio
                                  wrote on last edited by
                                  #16

                                  That has to be one of the coolest stories I've read. For a minute I thought this was leading into the machine overheating, and he opened the window to allow it to cool down. Overheating was a very common problem, and still is. But the light on the photocells is waaayyy better. :)

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                                    S Offline
                                    S Offline
                                    S Mercurio
                                    wrote on last edited by
                                    #17

                                    Maybe you need to try a different IDE.[^] ;)

                                    1 Reply Last reply
                                    0
                                    • S Slacker007

                                      first, make sure you have all updates. second, try staring VS as admin and running the same series of steps. third, check the windows event logs. fourth, turn off any antivirus, etc. and run the series of steps again. fifth, no, this has never happened to me. Google as much as you can, and as a last resort, open a ticket with the beast. wish you the best of luck in this, especially when dealing with the beast (if you have to go that far.). Notes: I have been using VS2017 @ constant professional basis and have not even heard of the issue you are encountering.

                                      M Offline
                                      M Offline
                                      markchagers
                                      wrote on last edited by
                                      #18

                                      Slacker007 wrote:

                                      try staring VS as admin

                                      I've been staring at VS all day, it just stares back at me...

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                                        C Offline
                                        C Offline
                                        crax13
                                        wrote on last edited by
                                        #19

                                        I, too, have experienced this behavior from Visual Studio for the last few months, both 2015 and 2017. I have yet to find a solution; however, it seems to help when I take the time to reboot the PC every 10 to 12 debug sessions. The trouble is that I tend to get wrapped up in the task at hand, and forget to do the reboots! I assume that there is something in my PC environment that is causing this, and would love to hear of any solutions anyone out there comes up with.

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          I have had a number of occasions recently when building a project*, that VS stops and kills Windows completely. The mouse cursor disappears, the text caret stops flashing and even Ctrl-Alt-Del does not work. The only way to get out of it is to power off and on again. *I think it only happens when I press F5 to build and debug. And the code itself is not exactly complicated. Anyone else had this?

                                          M Offline
                                          M Offline
                                          MSBassSinger
                                          wrote on last edited by
                                          #20

                                          Are you running VS 2017 "run as administrator"?

                                          L 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