Menu

Looking to debug runtime errors

Anonymous
2010-12-02
2012-09-26
  • Anonymous

    Anonymous - 2010-12-02

    I'm a support guy at a university. An instructor is using Dev C++ in a class
    and remembers certain run time error messages from last year.

    We were on XP then and are on Windows 7 now. I'm mentioning this for good
    measure but I don't think it applies.

    I've done VB 6.0 programming in the past but I'm not a Dev C++ guy. I poked
    around the debugger options and eventually got into a mode that would step
    through the program and provided some run time error debugging. However, this
    came up with errors that we didn't expect. For instance. An expected "array
    out of bounds" error never came up. What I did get wasn't meaningful in any
    way (so I don't remember it). It simply let me know that their was a problem
    in that line of code during runtime.

    How do I get these errors back for this instructor?

     
  • Anonymous

    Anonymous - 2010-12-02

    The error was "An Access Violation (Segmentation Fault) raised in your
    program." The instructor tells me it should have been an array out of bounds
    error.

     
  • DARC

    DARC - 2011-06-14

    "How do I get these errors back for this instructor?"
    Do you mean like copy and paste the error messages at the bottom of the screen
    onto a txt file.
    Do you mean like set a break point and run debugger so it stops at the
    breakpoint.

     

Log in to post a comment.