home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / win32 / 2678 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.1 KB  |  42 lines

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