home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7574 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!news.dell.com!texsun!exucom.exu.ericsson.se!pc254101.exu.ericsson.se!exuptr
  2. From: exuptr@exu.ericsson.se (Patrick Taylor)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: BP7 - inclusion of debug information ??
  5. Message-ID: <exuptr.514.0@exu.ericsson.se>
  6. Date: 18 Dec 92 21:26:30 GMT
  7. References: <KEISU.92Dec18084901@lludd.sics.se>
  8. Sender: news@exu.ericsson.se
  9. Organization: Ericsson Network Systems, Inc.
  10. Lines: 53
  11. Nntp-Posting-Host: pc254101.exu.ericsson.se
  12. X-Disclaimer: This article was posted by a user at Ericsson.
  13.               Any opinions expressed are strictly those of the
  14.               user and not necessarily those of Ericsson.
  15.  
  16. In article <KEISU.92Dec18084901@lludd.sics.se> keisu@sics.se (Torbj|rn Keisu) writes:
  17. >The following results were obtained regarding the size of the resulting .exe
  18.  
  19. >compile flags in pgm/unit    /v flag    size
  20. >D+, L+                        off       1664
  21. >D+, L+                        on        3657
  22. >D-, L-                        off       1664
  23. >D-, L-                        on        3569   ?????
  24.  
  25. >In the last line the resulting file is almost as big as the one with full debug 
  26. >info, why is this ? The difference in size compared to the /v case corresponds 
  27. >roughly to the amount of declarations and linenumbers in the program.
  28.  
  29. The L flag is only turning on/off *local* symbol information.  Apparantly 
  30. your pgm did not have many things coming under this category.
  31.  
  32. Also, if I recall correctly, with /v on, you are creating "external" 
  33. debugger info even if you are not providing the specific IDE info used
  34. by Borland.
  35.  
  36. >The connection to the real world is that I have a fairly large  application 
  37. that 
  38. >cannot be compiled with /v flag (using bpc) even though all files have 
  39. D-,L- set.
  40. >bpc fails with error 110, which incidentally isn't in the written 
  41. documentation.
  42. >The cause is debug symbol table overflow. All is fine when compiling in the 
  43. IDE
  44. >for the internal debugger, compiling in the IDE for standalone debugging 
  45. fails as
  46. >well.
  47.  
  48. That is about right.  Standalone debugging doesn't seem to be affected so 
  49. much by the D and L flags.  And the /v is basically doing the same thing.
  50.  
  51. >Suggestions anyone ??
  52.  
  53. Don't know.  What version are you using?  I'd try to break the program up
  54. to find the faults.  I basically have done this with some of my more 
  55. commerical apps.  Debug each unit one at a time, creating dummy units to 
  56. mimic supporting functions.  Pain in the ass at first, but it is easier in 
  57. the long run cause you write your main pgm on some very stable units.
  58.  
  59. >/tk
  60.  
  61.  ----------------------!!! H A P P Y   H O L I D A Y S !!!-------------------
  62.  ObQuotes:
  63.  "Ignorance and prejudice, confident their ways are best..."
  64.  "Quick to judge, quick to anger, slow to understand..."
  65.  
  66.   - Patrick Taylor, Ericsson Network Systems
  67.     exuptr@exu.ericsson.se                    "Don't let the .se fool you"
  68.     Visit the SOUNDING BOARD BBS 214-596-2915, a Wildcat! BBS
  69.