c++.wxwindows - Debugging application built with makefile?
In a recent thread (wx 2.4.2 - which version to get), I reported a problem with one of the samples, built using the makefile. I tried loading this into the debugger, but got message "No debug info in file". I changed the makefile to have EXTRACPPFLAGS= -g EXTRALDFLAGS=/DEBUG made clean, and saw these flags used in compile and link. However, the IDDE still complained about no debug info. Can anybody give me any hints about what I should do to be able to debug in such a situation? Also do I have to rebuild the libraries with different flags to be able to debug down into the library code? thanks Eliot
Feb 19 2004
Make sure that /co is used when linking. To debug into the libraries, they have to be build with -g too. "Eliot" <eblennerhassett audioscience.com> wrote in message news:c13a7k$1ptf$1 digitaldaemon.com...In a recent thread (wx 2.4.2 - which version to get), I reported a problemwithone of the samples, built using the makefile. I tried loading this into the debugger, but got message "No debug info infile".I changed the makefile to have EXTRACPPFLAGS= -g EXTRALDFLAGS=/DEBUG made clean, and saw these flags used in compile and link. However, the IDDE still complained about no debug info. Can anybody give me any hints about what I should do to be able to debugin sucha situation? Also do I have to rebuild the libraries with different flags to be able todebugdown into the library code? thanks Eliot
Feb 19 2004