Results 1 to 7 of 7

Thread: [RESOLVED] Break stopped working

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2016
    Posts
    109

    Resolved [RESOLVED] Break stopped working

    My break stopped working again.
    I had the same problem back in August and was told to put a STOP in the program.
    The Stop worked fine.
    Now both the break and the Stop does not work.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: Break stopped working

    Your code execution must not run through that part of your code somehow

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Break stopped working

    Have you tried placing a breakpoint in a place that you know for sure gets executed, e.g. on the Load event handler of a form or the Main method of a Console app?

  4. #4
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,834

    Re: Break stopped working

    Sometimes deleting the .suo file helps. I'm assuming you have everything else set up right. Make sure your PDB files are being created and match the build. I strongly agree with setting the breakpoint where you KNOW it will hit. Not where you THINK it will hit.
    Please remember next time...elections matter!

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2016
    Posts
    109

    Re: Break stopped working

    The break used to work fine.
    The break used to stop where set.
    I talked to my neighbor that had the same problem and he told me to uninstall Visual Basic and to reinstall Visual Basic again.
    I tried it and all my breaks work fine now.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Break stopped working

    Quote Originally Posted by wideminnow6970 View Post
    I talked to my neighbor that had the same problem and he told me to uninstall Visual Basic and to reinstall Visual Basic again.
    That is generally overkill, given that the VS installer has a Repair option. That is basically a reinstallation without uninstalling.

  7. #7
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,834

    Re: Break stopped working

    Quote Originally Posted by wideminnow6970 View Post
    The break used to work fine.
    The break used to stop where set.
    I talked to my neighbor that had the same problem and he told me to uninstall Visual Basic and to reinstall Visual Basic again.
    I tried it and all my breaks work fine now.
    I'm curious if you tried my suggestions?
    Please remember next time...elections matter!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width