🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1192

EA7: Building/ Debugging problems.

#1192
From: Adam Skwersky
Date: Thu, 31 May 2001 12:52
35 lines
2768 bytes
Hi,

I went ahead and did the upgrade. I needed to because my application needed
to be "Mach-O" to access the serial ports easily. Well I thought it would be
easier to just build the OS X version as Mach-O, and the pre OS-X as a
non-carbon app. Getting mach-o has been tougher than I thought.

First, the mach-o tools seem to do a much much better job with the header
files. After fixing some c++ template related problems and a few other code
fixes, I got the code to compile using the mach-o tools.

There were a few issues:

When debugging, some pointers display as @R## (register?) values. When you
try to dereference them using the expanding arrow you get an error message
(don't remember the exact wording but it was something like "value is
offset..."

Another problem with the debugger is it cannot seem to find all my source
files. I think it has something to do with the way my source files are
structured. My source files are stored in a hierarchical directory
structure. The structure seems to work fine when building but for some
reason the debugger cannot find a file that is near the bottom of the
hierarchy. When I try to set breakpoints in this file in the IDE, the
breakpoints are a dull red.  When I do the same thing with a file that the
debugger CAN find, the breakpoints are a deep dark red. The debugger will
stop at the deep dark red breakpoints but not on the dull red breakpoints.

Also, the "step over" sometimes "steps into".

This is making debugging my application a bit difficult.


Adam Skwersky
askwersky@worldnet.att.net
Technical Details
Message-ID: <B73BB705.232B%askwersky@worldnet.att.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,7db14248d845d622,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,7db14248d845d622,start
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2001-05-31 05:52:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Subject: EA7: Building/ Debugging problems.
From: Adam Skwersky <askwersky@worldnet.att.net>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Message-ID: <B73BB705.232B%askwersky@worldnet.att.net>
Mime-version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 36
Date: Thu, 31 May 2001 12:52:55 GMT
NNTP-Posting-Host: 12.91.49.162
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 991313575 12.91.49.162 (Thu, 31 May 2001 12:52:55 GMT)
NNTP-Posting-Date: Thu, 31 May 2001 12:52:55 GMT
Organization: AT&T Worldnet