• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
trouble debugging input method remotely
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble debugging input method remotely


  • Subject: trouble debugging input method remotely
  • From: Daniel Child <email@hidden>
  • Date: Thu, 01 May 2008 13:27:09 -0400

I am trying to set up remote debugging for input methods using Xcode. For starters, I'm trying to use Apple's sample, but am having a number of issues.

One is that I am not sure where/how to set up the shared build location in the case of an input method. To run an input method, you need to drop it into Library"Input Methods", but remote debugging usually suggests setting up a shared location like /Users/Shared/ Projects or the like. Can input methods be run from such a location during debugging?

Secondly, I'm confused about the use of symbolic links for the latter (shared location). I have authorized access using ssh-keygen. That works fine. The problem is that when I try to debug gdb says the executable is not found based on the symbolic link I set up.

Here's where I'm unclear. If the LOCAL computer (the one that will be used to develop and run the debugging) has its build location set to:

/Users/Shared/MyInputMethod

then on REMOTE (the computer used to execute the input method during debugging), should the link be inside a folder (on REMOTE) called / Users/Shared/MyInputMethod or should the link itself be found at / Users/Shared/MyInputMethod? (My guess is at, but at this point neither approach is working.)

And is it correct to have the link placed on REMOTE (the executable host) point to:

/Volumes/<LOCAL COMPUTER NAME>/Users/Shared/MyInputMethod ???

Thanks for looking.

(PS: I've already done the step of setting up remote debugging in Xcode and that seems to work. Problem is the link files not in the correct location.) When I set links as described above, the console errors are as follows (project called NumberInput0):

(ssh login succeeds)....
This GDB was configured as "powerpc-apple-darwin"./Users/Shared/ NumberInput0/Debug/NumberInput.app/Contents/MacOS/NumberInput: No such file or directory.
/Users/Shared/NumberInput0/Debug/NumberInput.app/Contents/MacOS/ NumberInput: No such file or directory.
/Users/Shared/NumberInput0/Debug: No such file or directory.
sharedlibrary apply-load-rules all
(gdb) run
Running…
No executable file specified.
Use the "file" or "exec-file" command.
No executable file specified.
Use the "file" or "exec-file" command.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Text attachment not deleted from NSTextView
  • Next by Date: Programmatic "Size To Fit"
  • Previous by thread: Re: Trouble with NSPopUpButton and hierarchical menus?
  • Next by thread: Re: trouble debugging input method remotely
  • Index(es):
    • Date
    • Thread