Forums › Forums › SIMPOL Programming › IDE crashes after stopping debugging or error
- This topic has 2 replies, 2 voices, and was last updated 14 years, 11 months ago by
Dan Jinks.
- AuthorPosts
- July 18, 2011 at 4:36 am #146
Dan Jinks
ParticipantWhat 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?
July 18, 2011 at 9:18 pm #1890Michael
KeymasterOn 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
July 20, 2011 at 2:39 pm #1893Dan Jinks
ParticipantGood 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 - AuthorPosts
- You must be logged in to reply to this topic.