Hello World wx sample app taking minutes to close in debugger

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
buttonsrtoys
Experienced Solver
Experienced Solver
Posts: 58
Joined: Mon Jul 03, 2017 12:03 am

Hello World wx sample app taking minutes to close in debugger

Post by buttonsrtoys »

I'm working with VS 2013 and the small apps I'm developing are taking 5+ minutes to close when running through the VS debugger. E.g., the Hello World wx app found here http://docs.wxwidgets.org/trunk/overvie ... world.html has the same behavior for me - when I close the app using File > Close or hit the [X] in the top-right, the app vanishes, but the debugger still shows the app running for another 5 minutes or so. When I hit pause, it breaks in

wxIMPLEMENT_APP( MyApp );

A weird part is that if I put a breakpoint in the OnExit handler and hit File > Close and then hit Continue after it breaks, it closes down fine (the breakpoint isn't hit when I click the [X]).

Could it be a setting in my Solution?
User avatar
doublemax
Moderator
Moderator
Posts: 19103
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Hello World wx sample app taking minutes to close in debugger

Post by doublemax »

Could it be a setting in my Solution?
Possible.

Which OS and which wxWidgets version were you using?

Please try again with the "minimal" sample that comes with wxWidgets and check if it shows the same problem.
Use the source, Luke!
buttonsrtoys
Experienced Solver
Experienced Solver
Posts: 58
Joined: Mon Jul 03, 2017 12:03 am

Re: Hello World wx sample app taking minutes to close in debugger

Post by buttonsrtoys »

Apologies for the omission. Windows 10, WX 3.0, and VS 2013.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Hello World wx sample app taking minutes to close in debugger

Post by ONEEYEMAN »

Hi,
Did you try "minimal" sample as doublemax suggested?

Thank you.
Post Reply