home *** CD-ROM | disk | FTP | other *** search
- 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
- From: exuptr@exu.ericsson.se (Patrick Taylor)
- Newsgroups: comp.lang.pascal
- Subject: Re: BP7 - inclusion of debug information ??
- Message-ID: <exuptr.514.0@exu.ericsson.se>
- Date: 18 Dec 92 21:26:30 GMT
- References: <KEISU.92Dec18084901@lludd.sics.se>
- Sender: news@exu.ericsson.se
- Organization: Ericsson Network Systems, Inc.
- Lines: 53
- Nntp-Posting-Host: pc254101.exu.ericsson.se
- X-Disclaimer: This article was posted by a user at Ericsson.
- Any opinions expressed are strictly those of the
- user and not necessarily those of Ericsson.
-
- In article <KEISU.92Dec18084901@lludd.sics.se> keisu@sics.se (Torbj|rn Keisu) writes:
- >The following results were obtained regarding the size of the resulting .exe
-
- >compile flags in pgm/unit /v flag size
- >D+, L+ off 1664
- >D+, L+ on 3657
- >D-, L- off 1664
- >D-, L- on 3569 ?????
-
- >In the last line the resulting file is almost as big as the one with full debug
- >info, why is this ? The difference in size compared to the /v case corresponds
- >roughly to the amount of declarations and linenumbers in the program.
-
- The L flag is only turning on/off *local* symbol information. Apparantly
- your pgm did not have many things coming under this category.
-
- Also, if I recall correctly, with /v on, you are creating "external"
- debugger info even if you are not providing the specific IDE info used
- by Borland.
-
- >The connection to the real world is that I have a fairly large application
- that
- >cannot be compiled with /v flag (using bpc) even though all files have
- D-,L- set.
- >bpc fails with error 110, which incidentally isn't in the written
- documentation.
- >The cause is debug symbol table overflow. All is fine when compiling in the
- IDE
- >for the internal debugger, compiling in the IDE for standalone debugging
- fails as
- >well.
-
- That is about right. Standalone debugging doesn't seem to be affected so
- much by the D and L flags. And the /v is basically doing the same thing.
-
- >Suggestions anyone ??
-
- Don't know. What version are you using? I'd try to break the program up
- to find the faults. I basically have done this with some of my more
- commerical apps. Debug each unit one at a time, creating dummy units to
- mimic supporting functions. Pain in the ass at first, but it is easier in
- the long run cause you write your main pgm on some very stable units.
-
- >/tk
-
- ----------------------!!! H A P P Y H O L I D A Y S !!!-------------------
- ObQuotes:
- "Ignorance and prejudice, confident their ways are best..."
- "Quick to judge, quick to anger, slow to understand..."
-
- - Patrick Taylor, Ericsson Network Systems
- exuptr@exu.ericsson.se "Don't let the .se fool you"
- Visit the SOUNDING BOARD BBS 214-596-2915, a Wildcat! BBS
-