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. Worthless Exceptions [modified]

Worthless Exceptions [modified]

Scheduled Pinned Locked Moved The Lounge
cssdebuggingquestionlearning
17 Posts 10 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.
  • S Shog9 0

    Debugger? Break on exception? (Semi-OT: I really miss data breakpoints sometimes...)

    ----

    i hope you are feeling sleepy for people not calling you by the same.

    --BarnaKol on abusive words

    M Offline
    M Offline
    Matt Newman
    wrote on last edited by
    #3

    Shog9 wrote:

    Debugger? Break on exception?

    Thats what the debugger is giving me, and thats all. And the block of code that seems to be causing it shouldn't be causing it (it makes no sense)

    Matt Newman

    S P A W 4 Replies Last reply
    0
    • M Matt Newman

      Shog9 wrote:

      Debugger? Break on exception?

      Thats what the debugger is giving me, and thats all. And the block of code that seems to be causing it shouldn't be causing it (it makes no sense)

      Matt Newman

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #4

      Matt Newman wrote:

      it makes no sense

      Heh, if i had a nickel for every time i've looked at a crash report coming in and said that*... *I'd have like... $100. Weak. Um, if only i had $100 for every...

      ----

      i hope you are feeling sleepy for people not calling you by the same.

      --BarnaKol on abusive words

      R 1 Reply Last reply
      0
      • M Matt Newman

        Shog9 wrote:

        Debugger? Break on exception?

        Thats what the debugger is giving me, and thats all. And the block of code that seems to be causing it shouldn't be causing it (it makes no sense)

        Matt Newman

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #5

        Then we'll need more information.

        S 1 Reply Last reply
        0
        • P PIEBALDconsult

          Then we'll need more information.

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #6

          Whoa, there - don't turn this into a programming question thread... ;)

          ----

          i hope you are feeling sleepy for people not calling you by the same.

          --BarnaKol on abusive words

          P 1 Reply Last reply
          0
          • M Matt Newman

            [Vent Warning] "EntitySet was modified during enumeration." Oh really, thats not good. Which "EntitySet" was modified? That might be helpful information.... instead I get to figure out why a block of code that shouldn't be changing any of the lists I am enumerating is. But of course I don't know which list is... [/Vent Warning] -- modified at 22:22 Saturday 19th May, 2007 I'm not trying to debug, or look for answers (I would be using the correct forums if I were), just venting. And for the record I fixed it, but the solution made even less sense than the exception :)

            Matt Newman

            N Offline
            N Offline
            Nnamdi Onyeyiri
            wrote on last edited by
            #7

            Debuggers are sneaky - they work with the bugs to throw you off the scent.

            Nnamdi Onyeyiri

            P M S G 4 Replies Last reply
            0
            • S Shog9 0

              Matt Newman wrote:

              it makes no sense

              Heh, if i had a nickel for every time i've looked at a crash report coming in and said that*... *I'd have like... $100. Weak. Um, if only i had $100 for every...

              ----

              i hope you are feeling sleepy for people not calling you by the same.

              --BarnaKol on abusive words

              R Offline
              R Offline
              Rob Manderson
              wrote on last edited by
              #8

              Aint THAT the truth!

              Rob Manderson I'm working on a version for Visual Lisp++ My blog http://blogs.wdevs.com/ultramaroon/[^] My blog mirror http://robmanderson.blogspot.com[^]

              1 Reply Last reply
              0
              • S Shog9 0

                Whoa, there - don't turn this into a programming question thread... ;)

                ----

                i hope you are feeling sleepy for people not calling you by the same.

                --BarnaKol on abusive words

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #9

                Well, I was thinking of adding "and move it to the appropriate forum", but I didn't want to imply that this was the wrong forum for the original post.

                1 Reply Last reply
                0
                • N Nnamdi Onyeyiri

                  Debuggers are sneaky - they work with the bugs to throw you off the scent.

                  Nnamdi Onyeyiri

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #10

                  What we need is a double-D bugger, so at least we enjoy the trip.

                  1 Reply Last reply
                  0
                  • N Nnamdi Onyeyiri

                    Debuggers are sneaky - they work with the bugs to throw you off the scent.

                    Nnamdi Onyeyiri

                    M Offline
                    M Offline
                    Matt Newman
                    wrote on last edited by
                    #11

                    Yeah, I fixed the crash but it had nothing to do with the exception I was getting... Go figure.

                    Matt Newman

                    1 Reply Last reply
                    0
                    • N Nnamdi Onyeyiri

                      Debuggers are sneaky - they work with the bugs to throw you off the scent.

                      Nnamdi Onyeyiri

                      S Offline
                      S Offline
                      Scott Dorman
                      wrote on last edited by
                      #12

                      Nnamdi Onyeyiri wrote:

                      Debuggers are sneaky - they work with the bugs to throw you off the scent.

                      Absolutely...sometimes I think that's their mission in life. :)

                      ----------------------------- In just two days, tomorrow will be yesterday.

                      1 Reply Last reply
                      0
                      • M Matt Newman

                        Shog9 wrote:

                        Debugger? Break on exception?

                        Thats what the debugger is giving me, and thats all. And the block of code that seems to be causing it shouldn't be causing it (it makes no sense)

                        Matt Newman

                        A Offline
                        A Offline
                        Al Beback
                        wrote on last edited by
                        #13

                        Matt Newman wrote:

                        (it makes no sense)

                        Is this a multi-threaded app? That may be why.


                        - Your choice of lifestyle is an abomination. - But I've been this way since I was a child. - The scriptures say it is of the Devil! - But who am I hurting by being this way? - It's EVIL! You must renounce this behavior! - What if it's NATURAL? - There's no proof of that! BEING LEFT HANDED IN THE MIDDLE AGES.

                        M 1 Reply Last reply
                        0
                        • A Al Beback

                          Matt Newman wrote:

                          (it makes no sense)

                          Is this a multi-threaded app? That may be why.


                          - Your choice of lifestyle is an abomination. - But I've been this way since I was a child. - The scriptures say it is of the Devil! - But who am I hurting by being this way? - It's EVIL! You must renounce this behavior! - What if it's NATURAL? - There's no proof of that! BEING LEFT HANDED IN THE MIDDLE AGES.

                          M Offline
                          M Offline
                          Matt Newman
                          wrote on last edited by
                          #14

                          Al Beback wrote:

                          Is this a multi-threaded app?

                          Nope.

                          Matt Newman

                          1 Reply Last reply
                          0
                          • M Matt Newman

                            Shog9 wrote:

                            Debugger? Break on exception?

                            Thats what the debugger is giving me, and thats all. And the block of code that seems to be causing it shouldn't be causing it (it makes no sense)

                            Matt Newman

                            W Offline
                            W Offline
                            WillemM
                            wrote on last edited by
                            #15

                            At least it's more helpful then the TargetInvocationExceptions in WPF telling you theres an error in the markup when there is none. Really helpful ;P

                            WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

                            1 Reply Last reply
                            0
                            • N Nnamdi Onyeyiri

                              Debuggers are sneaky - they work with the bugs to throw you off the scent.

                              Nnamdi Onyeyiri

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

                              I've had days where I felt like that. Then I took my meds, and everything was all better.


                              Software Zen: delete this;

                              Fold With Us![^]

                              1 Reply Last reply
                              0
                              • M Matt Newman

                                [Vent Warning] "EntitySet was modified during enumeration." Oh really, thats not good. Which "EntitySet" was modified? That might be helpful information.... instead I get to figure out why a block of code that shouldn't be changing any of the lists I am enumerating is. But of course I don't know which list is... [/Vent Warning] -- modified at 22:22 Saturday 19th May, 2007 I'm not trying to debug, or look for answers (I would be using the correct forums if I were), just venting. And for the record I fixed it, but the solution made even less sense than the exception :)

                                Matt Newman

                                E Offline
                                E Offline
                                ednrgc
                                wrote on last edited by
                                #17

                                How about this one: throw new StrongTypingException("Cannot get value because it is DBNull.", e); um, what table? what field? It's a monolithic application with tons of tables, and this exception was emailed to me.

                                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