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. Other Discussions
  3. The Weird and The Wonderful
  4. Wonderful description strings!

Wonderful description strings!

Scheduled Pinned Locked Moved The Weird and The Wonderful
comdebuggingtoolshelpquestion
5 Posts 5 Posters 1 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.
  • R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #1

    I was working with some old code (well, as usual) and came across this situation where the debugger reported an unhandled exception. I handled it, and well...

    try
    {
    //existing code which was not within the try block
    }
    catch(CPrException *pExc)
    {
    OutputDebugString(pExc->GetErrorDescription());
    delete pExc;
    }

    And error description printed in the external debugger was:

    Something is really wrong!

    :wtf: Something is wrong? Really wrong? Well, thanks for letting me know. Someone out there was having a really wicked sense of humor while writing it. I would personally want to take him out and beat him to death with an old-skool mechanical keyboard.

    It is a crappy thing, but it's life -^ Carlo Pallini

    W M B 3 Replies Last reply
    0
    • R Rajesh R Subramanian

      I was working with some old code (well, as usual) and came across this situation where the debugger reported an unhandled exception. I handled it, and well...

      try
      {
      //existing code which was not within the try block
      }
      catch(CPrException *pExc)
      {
      OutputDebugString(pExc->GetErrorDescription());
      delete pExc;
      }

      And error description printed in the external debugger was:

      Something is really wrong!

      :wtf: Something is wrong? Really wrong? Well, thanks for letting me know. Someone out there was having a really wicked sense of humor while writing it. I would personally want to take him out and beat him to death with an old-skool mechanical keyboard.

      It is a crappy thing, but it's life -^ Carlo Pallini

      W Offline
      W Offline
      Wouter Kok
      wrote on last edited by
      #2

      I have adopted also some code from vb. This code logs on customer machines to the windows eventlogger. The log will only tell me: "Invalid operation. Call you system administrator" There is no error code. No trace where the hell it is going wrong. So they call me. I work here 2 years now and the original developer left 1 year ago. Ofcourse now i get the error messages. All i am saying, i know your pain!

      1 Reply Last reply
      0
      • R Rajesh R Subramanian

        I was working with some old code (well, as usual) and came across this situation where the debugger reported an unhandled exception. I handled it, and well...

        try
        {
        //existing code which was not within the try block
        }
        catch(CPrException *pExc)
        {
        OutputDebugString(pExc->GetErrorDescription());
        delete pExc;
        }

        And error description printed in the external debugger was:

        Something is really wrong!

        :wtf: Something is wrong? Really wrong? Well, thanks for letting me know. Someone out there was having a really wicked sense of humor while writing it. I would personally want to take him out and beat him to death with an old-skool mechanical keyboard.

        It is a crappy thing, but it's life -^ Carlo Pallini

        M Offline
        M Offline
        Michael Bookatz
        wrote on last edited by
        #3

        Something was really wrong, with the original coder!

        J 1 Reply Last reply
        0
        • M Michael Bookatz

          Something was really wrong, with the original coder!

          J Offline
          J Offline
          Jeroen De Dauw
          wrote on last edited by
          #4

          I'll second that - LOL :D

          GSoC 2009 student for SMW! --- My little forums: http://code.bn2vs.com --- 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            I was working with some old code (well, as usual) and came across this situation where the debugger reported an unhandled exception. I handled it, and well...

            try
            {
            //existing code which was not within the try block
            }
            catch(CPrException *pExc)
            {
            OutputDebugString(pExc->GetErrorDescription());
            delete pExc;
            }

            And error description printed in the external debugger was:

            Something is really wrong!

            :wtf: Something is wrong? Really wrong? Well, thanks for letting me know. Someone out there was having a really wicked sense of humor while writing it. I would personally want to take him out and beat him to death with an old-skool mechanical keyboard.

            It is a crappy thing, but it's life -^ Carlo Pallini

            B Offline
            B Offline
            BillW33
            wrote on last edited by
            #5

            Having been there myself many times I understand that at crunch time error messages get minimal consideration. But if there is time to write "Something is really wrong!" surely there is time to write an error message that is a wee bit more helpful. :| Bill W

            Just because the code works, it doesn't mean that it is good code.

            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