VC6 debugger hangs wxVidget app if breakpoint in event handler?
Carsten A. Arnholm
arnholm at offline.no
Sat Mar 31 13:23:30 PDT 2007
Hello,
I have been experimenting with writing apps with wxWidgets 2.8.2 on Windows
XP and Linux/Kubuntu for a while. My development is on Windows at the
moment, using VC++ 6.0, as this is a well known development environment for
me. I have been using it for other C++ development and debugging for years.
I have been experimenting to find ways of designing wxWidgets GUI with some
success, but also with some problems. I have tried DialogBlocks and although
it has many very nice features and I am able to generate some code that
works, I feel my hands are a bit tied there. I have also tried designing GUI
using wxGlade and that is a nice tool. At the moment I set up the overall
projects with DialogBlocks, design and generate the C++ code with wxGlade
and combine the output from the two in Developer Studio, for compilation and
linking/debugging. This way I have made programs that work ok, essentially a
wxFrame with a splitterwindow, some menus etc. The event handlers work also.
What is a bit of a puzzle is that if I try to debug and set a VC++ debugger
breakpoint in a event handler of my wxWidgets programs, then everything
freezes. And I mean *everything*. Even the Windows Task Manager is very hard
to get to to stop the program, and usually the only way out is to hold in
the power button on the PC and force a "hard stop" and reboot. Not so nice.
Any clues to why this is happening? Is it a known problem? The program as
such seems ok, as it runs under windows (without debugger) and under
Linux/Kubuntu using KDevelop/GCC.
Advice or suggestions appreciated!
--
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list