Re: remote debugging, can't see source code
Re: remote debugging, can't see source code
- Subject: Re: remote debugging, can't see source code
- From: Rainer Brockerhoff <email@hidden>
- Date: Wed, 12 Apr 2006 13:48:08 -0300
At 03:03 -0700 12/4/06, email@hidden wrote:
>From: "James W. Walker" <email@hidden>
>Date: Tue, 11 Apr 2006 16:36:14 -0700
>Message-ID: <p05210600c061e9456582@[192.168.1.160]>
>
>I'm trying to run Xcode on a G5 and debug an app running on an Intelmini. Xcode logs in and the app starts up, but when it reaches aDebugStr, the debugger shows assembly code instead of source. Thedebugger console says "Could not find OSO file:" followed by a pathto a file that does exist. I checked the list archives, but nobodyelse seems to have had the same problem with remote debugging, andthere were no hits on "OSO".
>
>Both machines are running 10.4.6 and Xcode 2.2.1. The target is setto generate debug symbols, full level, and not to strip.
>
>I have a feeling that my problem relates to these sentences in theXcode User Guide:
>
>"Create a single shared location. This is easiest with a network homedirectory, although you can use any shared folder that both computerscan access. In Xcode, set the build products and intermediateslocation to this shared folder. If necessary, create symbolic linksto the build folder on the remote host so the path to the buildproducts is the same on both computers."
>
>Does this mean that I need to create a shared folder on some *third*Mac? Otherwise I'm not clear on how the path can be the same on bothcomputers. I had set up the project to build into a shared folder onthe remote computer. I made a symlink "ffdir" in the / directory ofeach computer, so that the path /ffdir leads to the shared folder oneach computer, but of course if you resolve the symlink, the pathsare different.
I've posted detailed instructions for remote debugging here:
http://brockerhoff.net/bb/viewtopic.php?p=1664#1664
"The path must be the same" means that it should be (for instance) "/Users/james/buildfolder/" on both machines, not necessarily that this path points to a shared folder - that would be too slow unless you're on a local network. You need to make sure the contents are the same before you start debugging, so the fastest way is doing rsync in a build phase.
HTH,
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden