CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2003
    Posts
    128

    App crashes without error

    I've had an app running without problem for a few months now. When the app crashed it would pop up a message where I could look at the error message to determine why it crashed. After a recent Windows 2003 update, when the app crashes it no longer pops up the message, writes to any log or appears in the event viewer so I have no idea now why it's crashing. Is there a way to determine what is going on that would help me see why my app is crashing?

    Cheers.

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: App crashes without error

    If possible find out what the user was doing when the crash occurred and see if you can do the same thing with the same result. If so try it in the design environment and see if you can reproduce it, Use the debug tools to locate the line(s) of code that may be causing the program.

    If you can not reproduce it then one of the first steps I would take is to add some code to write to a log file at various spots within the program where I believed trouble could possibly be occurring.

    Since I have no idea what your app is doing nor how it is coded I can not give you much more info than this.
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: App crashes without error

    If you install it on Window 7, you can RECORD the actions and results, and have them sent to you as an xml file.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: App crashes without error

    Use the debug tools at your disposal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured