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. We need a new forum!

We need a new forum!

Scheduled Pinned Locked Moved The Lounge
helpcsharptestingdebuggingbeta-testing
8 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

    Similar to the "Coding Horrors" forum how about a "Stupid Questions" forum? We could post such goodies as this (from C#):

    Name deleted to protect the guilty

    I am testing a c# application and one of the issues I am finding is the application throws unhandled exception error once in a while which leads to a debug and fix cycle.... Is there a way to get a list of all possible exceptions that can be thrown by the application and the line number where it can be thrown....

    I mean, all possible exceptions, and the line number where it can be thrown.... Wow!, that's either some impressive sized list, or some seriously intelligent software!

    All those who believe in psycho kinesis, raise my hand.

    "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

    R J M L 4 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      Similar to the "Coding Horrors" forum how about a "Stupid Questions" forum? We could post such goodies as this (from C#):

      Name deleted to protect the guilty

      I am testing a c# application and one of the issues I am finding is the application throws unhandled exception error once in a while which leads to a debug and fix cycle.... Is there a way to get a list of all possible exceptions that can be thrown by the application and the line number where it can be thrown....

      I mean, all possible exceptions, and the line number where it can be thrown.... Wow!, that's either some impressive sized list, or some seriously intelligent software!

      All those who believe in psycho kinesis, raise my hand.

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      Maybe he comes from the Java world with their throws clause... Thinking outside the box, this should be possible and one day maybe it will be. Of course some of the core exceptions would have to be listed as being always possible...

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        Similar to the "Coding Horrors" forum how about a "Stupid Questions" forum? We could post such goodies as this (from C#):

        Name deleted to protect the guilty

        I am testing a c# application and one of the issues I am finding is the application throws unhandled exception error once in a while which leads to a debug and fix cycle.... Is there a way to get a list of all possible exceptions that can be thrown by the application and the line number where it can be thrown....

        I mean, all possible exceptions, and the line number where it can be thrown.... Wow!, that's either some impressive sized list, or some seriously intelligent software!

        All those who believe in psycho kinesis, raise my hand.

        R Offline
        R Offline
        Rob Philpott
        wrote on last edited by
        #3

        Good idea though...

        Regards, Rob Philpott.

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Similar to the "Coding Horrors" forum how about a "Stupid Questions" forum? We could post such goodies as this (from C#):

          Name deleted to protect the guilty

          I am testing a c# application and one of the issues I am finding is the application throws unhandled exception error once in a while which leads to a debug and fix cycle.... Is there a way to get a list of all possible exceptions that can be thrown by the application and the line number where it can be thrown....

          I mean, all possible exceptions, and the line number where it can be thrown.... Wow!, that's either some impressive sized list, or some seriously intelligent software!

          All those who believe in psycho kinesis, raise my hand.

          M Offline
          M Offline
          Michael Schubert
          wrote on last edited by
          #4

          How about an "Under 60" forum (the number referring to the IQ)?

          J 1 Reply Last reply
          0
          • M Michael Schubert

            How about an "Under 60" forum (the number referring to the IQ)?

            J Offline
            J Offline
            justin p
            wrote on last edited by
            #5

            That probably would not work seen as how many idiots would subscribe. Just a observation...

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Similar to the "Coding Horrors" forum how about a "Stupid Questions" forum? We could post such goodies as this (from C#):

              Name deleted to protect the guilty

              I am testing a c# application and one of the issues I am finding is the application throws unhandled exception error once in a while which leads to a debug and fix cycle.... Is there a way to get a list of all possible exceptions that can be thrown by the application and the line number where it can be thrown....

              I mean, all possible exceptions, and the line number where it can be thrown.... Wow!, that's either some impressive sized list, or some seriously intelligent software!

              All those who believe in psycho kinesis, raise my hand.

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

              I think calling someone out like this is far worse than any question they could ask. Very immature IMO (you get a 1 from me for that). I also wonder what's so stupid about the question. Seems like it could be a handy tool. Cheers, Drew.

              OriginalGriffO P 2 Replies Last reply
              0
              • L Lost User

                I think calling someone out like this is far worse than any question they could ask. Very immature IMO (you get a 1 from me for that). I also wonder what's so stupid about the question. Seems like it could be a handy tool. Cheers, Drew.

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

                Drew Stainton wrote:

                calling someone out like this is far worse than any question they could ask

                If I had left their name on it, perhaps. But I carefully removed it, so they could not be identified if they delete the original post. What's stupid about the question? Only the sheer number of exceptions that could potentially be generated by every single line of every single program written. OK, the exceptions do not occur, because most of us are bright enought to code round potential overflows, underflows, null references, incomplete objects, etc., etc., etc. But a "tool" of this type would either have to examine the code in it's complete form, including actual data, before generating such a list, or include every possible exception that could occur to a given line - which is what the OP was specifically asking for...

                All those who believe in psycho kinesis, raise my hand.

                "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
                • L Lost User

                  I think calling someone out like this is far worse than any question they could ask. Very immature IMO (you get a 1 from me for that). I also wonder what's so stupid about the question. Seems like it could be a handy tool. Cheers, Drew.

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  I agree. My original reaction when I read the OP in the C# forum was that it was approaching the coding the wrong way round, but then I thought about it for a second and thought "Damn, but that would be one handy utility."

                  "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                  As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                  My blog | My articles | MoXAML PowerToys | Onyx

                  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