home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!urmel.informatik.rwth-aachen.de!solaris.rz.tu-clausthal.de!root
- From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Subject: Re: windbg
- Message-ID: <1993Jan5.031220.19528@solaris.rz.tu-clausthal.de>
- News-Software: IBM OS/2 PM RN (NR/2) v0.16 by O. Vishnepolsky and R. Rogers
- Lines: 28
- Sender: root@solaris.rz.tu-clausthal.de (Operator)
- Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Organization: Techn. Univ. Clausthal
- References: <C0CMuB.L3x@ngc.com>
- Date: Tue, 5 Jan 1993 03:12:20 GMT
-
- In <C0CMuB.L3x@ngc.com> alexism@ngc.com (Alexis Mermet) writes:
- >I have a C++ program made of a main .CPP part and a .LIB library.
- >The library is built with the lib utility with option -debugtype:both and
- >program is compiled with the full debug options -Od -Zi.
- >
- >When I run this program under WINDBG, I can only see in the Locals window
- >the variables whose class is defined/implemented in the main part of the
- >program ( the one that got linked as an .OBJ )
- >
- >Any object defined/implemented in the .LIB cannot be displayed by WINDBG.
- >I get the message: Error, invalid type OMF information ... or something
- >like that.
- >
- >Anyone has ever seen this before, Any ideas ?
-
- Seen before? Yes! Any ideas? No! It seems, that the debug
- information is imbedded incorrectly in the .EXE file. My only solution
- I have so far is not to use libs, but link lots of seperate .OBJ files.
- Ok, my .EXEs contain lots of unneeded stuff, but for debugging it's ok
- for me. When building NON-Debug verions, I use libs.
-
- Christoph
- -------------------------------------------------------+-----------------------
- Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
- Internet: hochstae@allfiwib1.wiwi.uni-marburg.de | D-W-3550 Marburg
- Bitnet : HOCHSTAE AT DMRHRZ11 | Germany
- Fido : 2:243/660 | Phone +49-6421-28-7092
- Fax : +49-6421-28-4858 |
-