Thread View: comp.lang.pascal.delphi.misc
4 messages
4 total messages
Started by Jon Shemitz
Wed, 26 Nov 1997 00:00
Tracing into D3 SYSTEM unit?
Author: Jon Shemitz
Date: Wed, 26 Nov 1997 00:00
Date: Wed, 26 Nov 1997 00:00
21 lines
1489 bytes
1489 bytes
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?
--
Personal Pages http://www.midnightbeach.com/jon
Programming Publications http://www.midnightbeach.com/jon/pubs
Homeschool Resource Page http://www.midnightbeach.com/hs
Re: Tracing into D3 SYSTEM unit?
Author: Oracle
Date: Wed, 26 Nov 1997 00:00
Date: Wed, 26 Nov 1997 00:00
31 lines
1943 bytes
1943 bytes
I have had a problem with the _StartLib and _StartExe before, and I couldn't
run an application from Delphi. The problem was solved by shutting delphi
down, but I'm sure that that is not the case here.
By any chance, do you know where I can get Tasm32?
Oracle
<oracle@log.on.ca>
Jon Shemitz wrote in message <347C9F8C.22D4C32C@midnightbeach.com>...
>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?
>
>--
>
>Personal Pages http://www.midnightbeach.com/jon
>Programming Publications http://www.midnightbeach.com/jon/pubs
>Homeschool Resource Page http://www.midnightbeach.com/hs
Re: Tracing into D3 SYSTEM unit?
Author: Jon Shemitz
Date: Wed, 26 Nov 1997 00:00
Date: Wed, 26 Nov 1997 00:00
17 lines
1265 bytes
1265 bytes
Oracle wrote: > By any chance, do you know where I can get Tasm32? I got mine from, I think, Programmers' Supershop, when I got D2. Actually, I got the package for TD32, and I haven't used TASM until today - I haven't had much call for asm lately, and BASM's fine for what I do need. Fwiw, the CPU window does most of what I bought TD32 for ... and now D3 lets you trace into dll's, which was just about all the rest. -- Personal Pages http://www.midnightbeach.com/jon Programming Publications http://www.midnightbeach.com/jon/pubs Homeschool Resource Page http://www.midnightbeach.com/hs
Re: Tracing into D3 SYSTEM unit?
Author: 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--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads