February 19, 2004 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 |
February 19, 2004 Re: Debugging application built with makefile? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eliot | 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 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 > > |
Copyright © 1999-2021 by the D Language Foundation