Results 1 to 4 of 4

Thread: If a program crashes for no apparant reason - how to tell what caused it?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    If a program crashes for no apparant reason - how to tell what caused it?

    My program is very hard to debug as it uses 2000 winsock threads running simultaneously exchanging data all the time. Recently though it has been crashing for no reason - no error message or anything.. it just goes poof. Is there any way to tell what caused the error, does windows keep a log file or anything? Adding statements to log every detail in the app would not work as the CPU use would just be too high..

  2. #2
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: If a program crashes for no apparant reason - how to tell what caused it?

    does windows keep a log file or anything?
    Yes. Check the System Event Log

    in XP, go to
    Control Panel -> Administrative Tools -> Event Viewer.
    Try the Category Application.

    Might have something there.


    IIF(Post.Rate > 0 , , )

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    Re: If a program crashes for no apparant reason - how to tell what caused it?

    thanks
    i checked though but theres nothing there related to my app

  4. #4
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: If a program crashes for no apparant reason - how to tell what caused it?

    Have you got all the updates and service Packs installed?
    And in the event log, may be your app name is not there, but something related to it (a dll or service used by your app) could be there.
    I know it wont be easy to check for that.
    Does it have proper Error Trapping?

    IIF(Post.Rate > 0 , , )

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