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. Weirdest debug session I've had in a long time

Weirdest debug session I've had in a long time

Scheduled Pinned Locked Moved The Lounge
lampgraphicsdebuggingperformancehelp
16 Posts 6 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.
  • H honey the codewitch

    I've been trying to debug intermittent problems with one of my video drivers. It would plot just a couple of random pixels sometimes while doing line drawing for example. The problem is, I didn't notice for two days because the screen is so small. So I've been using my bench's magnifying lamp as my primary debugging tool. This would not even be a thing except I'm getting old and I can't see anymore. :doh: Turns out I was trying to run the display at too fast a clock speed. Once I dropped it from 26MHz to 10 everything worked fine.

    Real programmers use butterflies

    Richard Andrew x64R Offline
    Richard Andrew x64R Offline
    Richard Andrew x64
    wrote on last edited by
    #2

    honey the codewitch wrote:

    This would not even be a thing except I'm getting old

    Don't feel ashamed, there's a lot of that going around.

    The difficult we do right away... ...the impossible takes slightly longer.

    H 1 Reply Last reply
    0
    • Richard Andrew x64R Richard Andrew x64

      honey the codewitch wrote:

      This would not even be a thing except I'm getting old

      Don't feel ashamed, there's a lot of that going around.

      The difficult we do right away... ...the impossible takes slightly longer.

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #3

      I suppose it beats the alternative. :-D

      Real programmers use butterflies

      1 Reply Last reply
      0
      • H honey the codewitch

        I've been trying to debug intermittent problems with one of my video drivers. It would plot just a couple of random pixels sometimes while doing line drawing for example. The problem is, I didn't notice for two days because the screen is so small. So I've been using my bench's magnifying lamp as my primary debugging tool. This would not even be a thing except I'm getting old and I can't see anymore. :doh: Turns out I was trying to run the display at too fast a clock speed. Once I dropped it from 26MHz to 10 everything worked fine.

        Real programmers use butterflies

        G Offline
        G Offline
        Gary R Wheeler
        wrote on last edited by
        #4

        honey the codewitch wrote:

        bench's magnifying lamp

        Welcome to my new life as a monocular person. After a fall last autumn I lost my right eye. I now use the "extra large" mouse pointer set on my PC's, because it's so easy for my surviving eye to lose the normal size pointer. My desktop magnifier is now one of my favorite things in the world. This is especially useful given that my wife has an amazing ability to find very small objects that I must repair :rolleyes: .

        honey the codewitch wrote:

        I was trying to run the display at too fast a clock speed

        I ran into that once on an embedded project that used a monochrome LCD display. When my program was idle, it displayed just fine. As soon as it did its thing, it went blank. To give you an idea of how bad it got, at one point a logic analyzer and an oscilloscope were involved :omg: . Come to find out I was both updating two often and clearing the entire display prior to the update. The end result, a blank screen. Reworking the updates to be more selective and only clearing the screen when absolutely necessary fixed things.

        Software Zen: delete this;

        H 1 Reply Last reply
        0
        • G Gary R Wheeler

          honey the codewitch wrote:

          bench's magnifying lamp

          Welcome to my new life as a monocular person. After a fall last autumn I lost my right eye. I now use the "extra large" mouse pointer set on my PC's, because it's so easy for my surviving eye to lose the normal size pointer. My desktop magnifier is now one of my favorite things in the world. This is especially useful given that my wife has an amazing ability to find very small objects that I must repair :rolleyes: .

          honey the codewitch wrote:

          I was trying to run the display at too fast a clock speed

          I ran into that once on an embedded project that used a monochrome LCD display. When my program was idle, it displayed just fine. As soon as it did its thing, it went blank. To give you an idea of how bad it got, at one point a logic analyzer and an oscilloscope were involved :omg: . Come to find out I was both updating two often and clearing the entire display prior to the update. The end result, a blank screen. Reworking the updates to be more selective and only clearing the screen when absolutely necessary fixed things.

          Software Zen: delete this;

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #5

          Gary R. Wheeler wrote:

          After a fall last autumn I lost my right eye.

          Ow! That must have been some fall. I'm glad you survived it, but wow! I'm sorry to hear you lost your eye.

          Real programmers use butterflies

          G 1 Reply Last reply
          0
          • H honey the codewitch

            Gary R. Wheeler wrote:

            After a fall last autumn I lost my right eye.

            Ow! That must have been some fall. I'm glad you survived it, but wow! I'm sorry to hear you lost your eye.

            Real programmers use butterflies

            G Offline
            G Offline
            Gary R Wheeler
            wrote on last edited by
            #6

            Thank you. The fall wasn't bad, but I had my glasses on and I fell on the right side of my face, pushing the frames into the eye socket and rupturing the eye. Not a lot of pain, but a whole lot of drama for a few days. In an unbelievable case of happenstance, my daughter was coming to visit the next morning. She wrangled me to the hospital and doctor visits for a week. Pro tip: When you are recovering from fasting and then general anesthesia, a large vanilla shake from Ritter's Frozen Custard[^] is the perfect answer. I developed a deep emotional bond with that shake, and entered mourning when the cup was empty. Needless to say I've had to make a number of adaptations. Like I mentioned I now use the x-large mouse pointers plus I've bumped text size up a notch. I use prescription reading glasses when working on the computer. Left-to-right lane changes when driving are exciting ;P . It's not been something I'd wish on anyone else, but there are worse things. I'm manfully resisting the middle-aged urge to recount examples [honey/witch sighs in relief].

            Software Zen: delete this;

            H D 2 Replies Last reply
            0
            • G Gary R Wheeler

              Thank you. The fall wasn't bad, but I had my glasses on and I fell on the right side of my face, pushing the frames into the eye socket and rupturing the eye. Not a lot of pain, but a whole lot of drama for a few days. In an unbelievable case of happenstance, my daughter was coming to visit the next morning. She wrangled me to the hospital and doctor visits for a week. Pro tip: When you are recovering from fasting and then general anesthesia, a large vanilla shake from Ritter's Frozen Custard[^] is the perfect answer. I developed a deep emotional bond with that shake, and entered mourning when the cup was empty. Needless to say I've had to make a number of adaptations. Like I mentioned I now use the x-large mouse pointers plus I've bumped text size up a notch. I use prescription reading glasses when working on the computer. Left-to-right lane changes when driving are exciting ;P . It's not been something I'd wish on anyone else, but there are worse things. I'm manfully resisting the middle-aged urge to recount examples [honey/witch sighs in relief].

              Software Zen: delete this;

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #7

              Do you have a patch? Those are rather dashing. I've actually thought about all the aesthetic advantages of missing an eye, of which there are several, not all involving parrots. It's supervillain-esque as well. I'd rock the heck out of that like I do my silver streak/witch mark. Just sayin' I hope I'm not being too forward, or putting you on the spot. You can tell me to get lost and I won't mind. :)

              Real programmers use butterflies

              G Greg UtasG R 3 Replies Last reply
              0
              • H honey the codewitch

                Do you have a patch? Those are rather dashing. I've actually thought about all the aesthetic advantages of missing an eye, of which there are several, not all involving parrots. It's supervillain-esque as well. I'd rock the heck out of that like I do my silver streak/witch mark. Just sayin' I hope I'm not being too forward, or putting you on the spot. You can tell me to get lost and I won't mind. :)

                Real programmers use butterflies

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #8

                I wore a patch when I went out until I was fitted for my prosthesis, and the patch was kind of attention-getting. FWIW, wearing an eye patch and a face mask leaves you feeling like you're looking at the world through a periscope. It does get a little old after a while. I enjoyed it when little kids noticed. One little girl popped up and asked me point-blank what happened to my eye. I explained to her that I had hurt my eye, and the patch protected it. Her mom was embarassed, but I told her curiousity was a good thing.

                honey the codewitch wrote:

                I hope I'm not being too forward, or putting you on the spot.

                Not at all. One of my favorite things about [well-advanced] middle age is that so few things embarass me.

                Software Zen: delete this;

                H 1 Reply Last reply
                0
                • G Gary R Wheeler

                  I wore a patch when I went out until I was fitted for my prosthesis, and the patch was kind of attention-getting. FWIW, wearing an eye patch and a face mask leaves you feeling like you're looking at the world through a periscope. It does get a little old after a while. I enjoyed it when little kids noticed. One little girl popped up and asked me point-blank what happened to my eye. I explained to her that I had hurt my eye, and the patch protected it. Her mom was embarassed, but I told her curiousity was a good thing.

                  honey the codewitch wrote:

                  I hope I'm not being too forward, or putting you on the spot.

                  Not at all. One of my favorite things about [well-advanced] middle age is that so few things embarass me.

                  Software Zen: delete this;

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #9

                  I'm early middle age and yet I know what you mean. Life's too short to be embarrassed. Little kids are the best. They're one of the reasons I get tri-color dye jobs. :)

                  Real programmers use butterflies

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    Do you have a patch? Those are rather dashing. I've actually thought about all the aesthetic advantages of missing an eye, of which there are several, not all involving parrots. It's supervillain-esque as well. I'd rock the heck out of that like I do my silver streak/witch mark. Just sayin' I hope I'm not being too forward, or putting you on the spot. You can tell me to get lost and I won't mind. :)

                    Real programmers use butterflies

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

                    I figured someone must have posted the pirate joke before, and sure enough[^].

                    Robust Services Core | Software Techniques for Lemmings | Articles
                    The fox knows many things, but the hedgehog knows one big thing.

                    <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>

                    G 1 Reply Last reply
                    0
                    • Greg UtasG Greg Utas

                      I figured someone must have posted the pirate joke before, and sure enough[^].

                      Robust Services Core | Software Techniques for Lemmings | Articles
                      The fox knows many things, but the hedgehog knows one big thing.

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #11

                      As a dad, I absolutely ran the pirate jokes into the ground. I think it was the third time I said "I've become a man of singular vision" that my daughter slugged me in the shoulder hard enough to actually hurt.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • G Gary R Wheeler

                        Thank you. The fall wasn't bad, but I had my glasses on and I fell on the right side of my face, pushing the frames into the eye socket and rupturing the eye. Not a lot of pain, but a whole lot of drama for a few days. In an unbelievable case of happenstance, my daughter was coming to visit the next morning. She wrangled me to the hospital and doctor visits for a week. Pro tip: When you are recovering from fasting and then general anesthesia, a large vanilla shake from Ritter's Frozen Custard[^] is the perfect answer. I developed a deep emotional bond with that shake, and entered mourning when the cup was empty. Needless to say I've had to make a number of adaptations. Like I mentioned I now use the x-large mouse pointers plus I've bumped text size up a notch. I use prescription reading glasses when working on the computer. Left-to-right lane changes when driving are exciting ;P . It's not been something I'd wish on anyone else, but there are worse things. I'm manfully resisting the middle-aged urge to recount examples [honey/witch sighs in relief].

                        Software Zen: delete this;

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #12

                        If you ever run into problems with a program that's using custom mouse cursors instead of the windows standard ones, give [YoloMouse](https://pandateemo.github.io/YoloMouse/) a try. It's core use is replacing cursors in games, but it should work anywhere since game devs tend to be at the top of the list for doing screwy stuff with the core OS platform.

                        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                        G 1 Reply Last reply
                        0
                        • H honey the codewitch

                          Do you have a patch? Those are rather dashing. I've actually thought about all the aesthetic advantages of missing an eye, of which there are several, not all involving parrots. It's supervillain-esque as well. I'd rock the heck out of that like I do my silver streak/witch mark. Just sayin' I hope I'm not being too forward, or putting you on the spot. You can tell me to get lost and I won't mind. :)

                          Real programmers use butterflies

                          R Offline
                          R Offline
                          Rusty Bullet
                          wrote on last edited by
                          #13

                          Curious about the silver streak/witch mark. Picture?

                          H 1 Reply Last reply
                          0
                          • R Rusty Bullet

                            Curious about the silver streak/witch mark. Picture?

                            H Offline
                            H Offline
                            honey the codewitch
                            wrote on last edited by
                            #14

                            I was asked about my witch mark[^] In case anyone is still mistaken about me being a woman, that should cover it too. :laugh: You don't get a recent photo because my hair is atrocious. I had to dig that one off my google account.

                            Real programmers use butterflies

                            1 Reply Last reply
                            0
                            • D Dan Neely

                              If you ever run into problems with a program that's using custom mouse cursors instead of the windows standard ones, give [YoloMouse](https://pandateemo.github.io/YoloMouse/) a try. It's core use is replacing cursors in games, but it should work anywhere since game devs tend to be at the top of the list for doing screwy stuff with the core OS platform.

                              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #15

                              Dan, thank you very much. Yolomouse works a treat!

                              Software Zen: delete this;

                              D 1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                Dan, thank you very much. Yolomouse works a treat!

                                Software Zen: delete this;

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #16

                                Glad I could help. :rose:

                                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                                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