Hi,
/home/david/devel/packages/wx/3.1.0/wxwidgets3.1-3.1.0/objs_gtk_sh/../src/gtk/toplevel.cpp
a path which obviously does not exist on my system
That looks like a path from my
unofficial wx3.1.0 packages build. There's no way that you can have got that from building your own wx3.1.0 from the official wx source.
Did you uninstall all the unofficial packages, including the debug ones? And how? Using apt or by hand?
What is the result (in terms of paths) of doing, in a terminal:
wx-config --libs
Do you have any stale paths in your Project Settings? Look in particular in the Compiling, Linking and Debugging sections. Also in Environment if you added anything there, and ditto in the global Settings > Environment Variables.
If none of the above seems helpful, try debugging your program again; this time turn on 'Enable full debugger logging' from Settings > GDB Settings: Misc or with the checkbox in the Output pane in the Debugger view. That should show the filepath of each lib's debug symbols that are loaded. e.g. one relevant line for me is:
Code: Select all
DEBUG>>=library-loaded,id="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",target-name="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",host-name="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",target-name="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",host-name="/home/david/devel/git/wx/udb/lib/libwx_gtk2u_xrc-3.1.so.1",symbols-loaded="0",thread-group="i1"
so you can see my local wx build is in /home/david/devel/git/wx/udb/
Regards,
David