Article View: comp.lang.pascal.delphi.misc
Article #152Re: Tracing into D3 SYSTEM unit?
From: Erik Sperling Johansen
Date: Thu, 27 Nov 1997 00:00
Date: Thu, 27 Nov 1997 00:00
64 lines
2854 bytes
2854 bytes
This is a multi-part message in MIME format.
--------------1EC5A7CC08CF79997A4334A0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Jon Shemitz wrote:
> I keep getting an access error at location 9. CPU window; no call stack.
> Sure sounds like the RTL, eh? So I have the linker build a map file.
> (Strangely, "publics" and "detailed" crash with a "close error" on a
> wierdly named file.) Sure enough, location 9 is in the System unit.
>
> So, I add source\rtl\sys to my search path and do a build. I get two
> undeclared identifier errors in SysInit - _StartLib and _StartExe. I
> don't see any external declarations or {$L} pragmas, but I figure the
> problem is probably that these are declared in one of the .asm files.
> So, I twiddle my DOS PATH, install TASM32, and run the makefile in
> source\rtl\sys.
>
> I *still* get the same two Undeclared Identifier errors. Surely someone
> has run into this already - what's the drill?
Copy the RTL/SYS files to another dir, run TASM and remove sysinit.pas. You'll be stepping through
System and SysUtils, but not SysInit.
Or, might work to run TASM and point search path to the DCUs, and Debug Source Path to the RTL
source. Be aware that stepping through system is rather annoying if you use interfaces or long
strings....
Regards,
Erik.
--
Development of applications and drivers for Windows 95 and NT.
Go visit http://www.POBoxes.com/Sperling for some free source!
Check out Delphi Bug Lists at http://www.POBoxes.com/DelphiBugList
PGP public key available at http://www.POBoxes.com/Sperling/pgpkey.txt
Erik Sperling Johansen, Sperling@POBoxes.com (DeBug Team; checker, monitor)
--------------1EC5A7CC08CF79997A4334A0
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Sperling Johansen, Erik
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Erik Sperling Johansen
n: Sperling Johansen;Erik
org: Info-Pro
email;internet: Sperling@POBoxes.com
title: Developer
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------1EC5A7CC08CF79997A4334A0--
Technical Details
Message-ID:
<347D3EE8.D2C651DA@POBoxes.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<347C9F8C.22D4C32C@midnightbeach.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10545b,b3ff7b37bbf903b0 X-Google-Attributes: gid10545b,public X-Google-Thread: 10baee,91b8369d14abc6e5 X-Google-Attributes: gid10baee,public From: Erik Sperling Johansen <sperling@POBoxes.com> Subject: Re: Tracing into D3 SYSTEM unit? Date: 1997/11/27 Message-ID: <347D3EE8.D2C651DA@POBoxes.com> X-Deja-AN: 293109426 References: <347C9F8C.22D4C32C@midnightbeach.com> Organization: Info-Pro Reply-To: sperling@POBoxes.com Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.ide