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. I hate that.

I hate that.

Scheduled Pinned Locked Moved The Lounge
wpfwcfcomdebugging
10 Posts 7 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.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    Mike HankeyM L Greg UtasG pkfoxP J 6 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

      Common for me. In Atmel Studio I'll make changes go to compile and get the "would you like to quit debugging" message.

      Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

      OriginalGriffO 1 Reply Last reply
      0
      • Mike HankeyM Mike Hankey

        Common for me. In Atmel Studio I'll make changes go to compile and get the "would you like to quit debugging" message.

        Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        At least you don't spend half an hour working it out ... :laugh:

        Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        Mike HankeyM 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

          Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

          the part I dislike is when (during debugging): move around in the source (no prob) copy some source (highlight, ^C) (no prob) move to where you want to paste [or just start to type in some code], ^V (or start typing) up pops 'changes not allowed ... do you want to stop debugging?' OK, fine, fair enough, I can accept that's the rule, so click the 'yes: please stop the debugging session' -> cursor returns to the code where you attempted the paste/typing, ^V / type nothing happens where the hell is the focus, it's not [as expected] in the code where it was before the popup popped up? yes the popup I can begrudgingly accept, yes my mistake, sorry, sorry, 1000 apologies ... but why is the focus not restored after I've apologized? (everything else works that way) ... do I need to sacrifice a pigeon* or self flagellate until I faint first? * not many sheep around here

          Message Signature (Click to edit ->)

          OriginalGriffO 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            Greg UtasG Offline
            Greg UtasG Offline
            Greg Utas
            wrote on last edited by
            #5

            IDEs should allow comments to be edited in code files during debug sessions. And not recompile the world just because a comment was changed in a low-level header. I guess I expect too much.

            <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
            <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              At least you don't spend half an hour working it out ... :laugh:

              Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

              True enough

              Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

              1 Reply Last reply
              0
              • L Lost User

                the part I dislike is when (during debugging): move around in the source (no prob) copy some source (highlight, ^C) (no prob) move to where you want to paste [or just start to type in some code], ^V (or start typing) up pops 'changes not allowed ... do you want to stop debugging?' OK, fine, fair enough, I can accept that's the rule, so click the 'yes: please stop the debugging session' -> cursor returns to the code where you attempted the paste/typing, ^V / type nothing happens where the hell is the focus, it's not [as expected] in the code where it was before the popup popped up? yes the popup I can begrudgingly accept, yes my mistake, sorry, sorry, 1000 apologies ... but why is the focus not restored after I've apologized? (everything else works that way) ... do I need to sacrifice a pigeon* or self flagellate until I faint first? * not many sheep around here

                Message Signature (Click to edit ->)

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                That's annoying, yes - but at least it tells you why - "comment block" tells you bugger all, it just does nothing at all ... :laugh:

                Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

                  Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                  pkfoxP Offline
                  pkfoxP Offline
                  pkfox
                  wrote on last edited by
                  #8

                  Always doing that :omg:

                  "We can't stop here - this is bat country" - Hunter S Thompson - RIP

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

                    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    J Offline
                    J Offline
                    j snooze
                    wrote on last edited by
                    #9

                    At least it started running without errors.

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      So, I'm coding away in VS2019 and I want to move some code from the Form.Shown handler to Form.Load. So I copy it to the clipboard and then CTRL+K,C to comment it out ... and nothing happens. Try again. Nothing changes. Try CTRL+K CTRL+C Nope. Start googling, check the Options to check the key binding, all looks OK. Google, Google, Google. Half an hour ... try to manually comment it out and I realize I've got a debug session running and can't change the actual code ... Close the app, and lo! It works again! :doh:

                      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                      G Offline
                      G Offline
                      grralph1
                      wrote on last edited by
                      #10

                      Been there done that. I hate it too because it always makes me feel stupid. When in reality I am a very.... OK sometimes I am a bit stupid. Still annoying though.

                      "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                      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