[comp.sys.mac.hypercard] TMON 2.8.2 - MPW C 3.0 - XCMDs and labels

jpa@inesc.UUCP (Jose Pedro Abreu) (03/09/90)

I'm developing a hypercard stack with several XCMDs. 
To debug them I'm trying to use TMON but I can't load labels from a file 
refering to a non-CODE segment and TMON does not recognize Macsbug symbols.

Any help ?

I think I could use Macsbug but i got used to TMON's windows and commands. 
Anyhow XCMDs debuging tips welcome.

Ze' Pedro

jpa@inesc.uucp

chewy@apple.com (Paul Snively) (03/10/90)

In article <617@inesc.UUCP> jpa@inesc.UUCP (Jose Pedro Abreu) writes:
> I'm developing a hypercard stack with several XCMDs. 
> To debug them I'm trying to use TMON but I can't load labels from a file 
> refering to a non-CODE segment and TMON does not recognize Macsbug 
symbols.
> 
> Any help ?
> 
> I think I could use Macsbug but i got used to TMON's windows and 
commands. 
> Anyhow XCMDs debuging tips welcome.
> 
> Ze' Pedro
> 
> jpa@inesc.uucp

Actually, TMON does recognize Macsbug embedded symbols.  The problem is 
that HyperCard loads the XCMD/XFCN and moves the code therein to a handle 
that's allocated high in memory--thereby destroying the association of the 
code to the resource handle.

I believe that the current TMON, 2.8.4, implements a workaround to that 
specific problem.

__________________________________________________________________________
                                Paul Snively
                      Macintosh Developer Technical Support
                             Apple Computer, Inc.

1st Choice: Paul_Snively.DTS@qm.gateway.apple.com
2nd Choice: CHEWBACCA@applelink.apple.com
Last Choice: chewy@apple.com

Just because I work for Apple Computer, Inc. doesn't mean that I believe 
what they believe, or vice-versa.
__________________________________________________________________________