Skip to content

IDE crashes after stopping debugging or error

Forums Forums SIMPOL Programming IDE crashes after stopping debugging or error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #146
    Dan Jinks
    Participant

    What is the correct procedure for restarting debugging after getting an error and stopping the debugger, fixing and recompiling. Seems I either close the IDE and reload the project or I crash (Windows says program has stopped working). Is that normal?

    #1890
    Michael
    Keymaster

    On 18/07/2011 05:36, djinks wrote:
    > What is the correct procedure for restarting debugging after getting
    > an error and stopping the debugger, fixing and recompiling. Seems I
    > either close the IDE and reload the project or I crash (Windows says
    > program has stopped working). Is that normal?

    Unfortunately, sometimes it will crash quite regularly upon restarting
    after debugging, other times it won't crash for hours or days. This is a
    known and annoying aspect of working with the wxWidgets support. As far
    as I can tell, it is down to the library not being completely unloaded
    before it is called again. Unfortunately, the library is not reentrant.
    It is high on my current priority list to track this down and stop it.

    That is why it is good practice whenever you make changes (set break
    points, set bookmarks, change project options, etc.) that you click on
    the Save All icon, since a crash will lose any changes otherwise.

    I currently keep Total Commander sitting in that directory so I can
    double-click on the project file again.

    The good news is that these kinds of crashes rarely if ever occur in a
    normal application. It is the restart (re-initialization of the library)
    that causes the problem.

    Ciao, Neil

    #1893
    Dan Jinks
    Participant

    Good tip regarding Total Commander. I now keep shortcuts on the desktop
    to the current projects. Works swell.

    -Dan

    On 7/18/2011 5:18 PM, Neil Robinson wrote:
    > On 18/07/2011 05:36, djinks wrote:
    >> What is the correct procedure for restarting debugging after getting
    >> an error and stopping the debugger, fixing and recompiling. Seems I
    >> either close the IDE and reload the project or I crash (Windows says
    >> program has stopped working). Is that normal?
    >
    > Unfortunately, sometimes it will crash quite regularly upon restarting
    > after debugging, other times it won't crash for hours or days. This is a
    > known and annoying aspect of working with the wxWidgets support. As far
    > as I can tell, it is down to the library not being completely unloaded
    > before it is called again. Unfortunately, the library is not reentrant.
    > It is high on my current priority list to track this down and stop it.
    >
    > That is why it is good practice whenever you make changes (set break
    > points, set bookmarks, change project options, etc.) that you click on
    > the Save All icon, since a crash will lose any changes otherwise.
    >
    > I currently keep Total Commander sitting in that directory so I can
    > double-click on the project file again.
    >
    > The good news is that these kinds of crashes rarely if ever occur in a
    > normal application. It is the restart (re-initialization of the library)
    > that causes the problem.
    >
    > Ciao, Neil

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.