The background:
I have a small GUI application to so some analysis and Image segmentation. For GUI I use wxwidgets. My environment is mac 10.5 and codeblocks for mac.
As I compile the application and run in mac, the executable starts but no mouse or keyboard controls goes on the interface.
With the help from wxwidgets community I have learn't that, we need to place the executable inside a special folder called project1.app/Contents/MacOS and then run the project1.app
Problem
Now the problem is if I try to change the project settings so the executable is directly written to such a directory hierarchy overriding the usual /debug/bin, when i try to debug it, it doesn't work. the application in this case still doesn't take mouse or keyboard inputs to the interface. Only when I am launching the application by double clicking on project1.app it is running as an usual GUI application.
Any help on how to setup debug environment in these cases is highly appreciated.