Path: utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!think!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!freja.diku.dk!terra From: terra@diku.dk (Morten Welinder) Newsgroups: comp.lang.pascal Subject: Re: TP5.5 and TD bug. Message-ID: <1990Jun1.153108.9862@diku.dk> Date: 1 Jun 90 15:31:08 GMT References: <15111.26665a0b@levels.sait.edu.au> Organization: Department Of Computer Science, University Of Copenhagen Lines: 28 maajs@levels.sait.edu.au writes: >Turbo Pascal 5.5 and Turbo Debugger Bug. >======================================== >The built in debugger with TP5.5, and stand alone TD share a bug. >When evaluating expressions which are displayed in the Watch >window, the evaluation may differ from that made in the code >being debugged. > ... >Conclusion: TP debugger, and TD do not use a 16 bit representation for >integers when evaluating watched expression. I suspect that the values >are represented with 32 bits, so common code can be used for all integer >types. Don't always trust the values displayed! Never trust 'em! I have a nasty overwrite problem and I start thinking that the heap management has errors in it . (If anyone out there knows whether this is correct, please let me know). Main point: I'm using the FreeMin variable, and TD acts funny evaluating say "MemAvail", if FreeMin is not zero. I haven't at this time checked using the the internal debugger. >The registers don't lie. Very true! terra@freja.diku.dk (Morten Welinder)