Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: PAServer - How to acquire debugging permission?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Aug 1, 2017 4:03 AM Last Post By: Bogdan Dragulin
Incus J

Posts: 5
Registered: 7/16/09
PAServer - How to acquire debugging permission?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 6, 2017 9:54 AM
I'm struggling to get the Platform Assistant Server to work on macOS (El Capitan). When PAServer launches, the following message appears in the Terminal window:

Platform Assistant Server  Version 3.0.4.08
Copyright (c) 2009-2013 Embarcadero Technologies, Inc.
 
Connection Profile password <press Enter for no password>: 
 
Acquiring permission to support debugging...failed
You will be prompted for Developer Tools Access the next time you start a debug session


Previously I have used PAServer successfully on an older version of macOS (Snow Leopard). On Snow Leopard a standard OS login dialog appears on launch - and entering the OS Admin password enables PAServer to acquire permission to support debugging successfully. Now on El Capitan, no login dialog appears, but I'm not sure why.

I'm using Delphi XE4 (in a VMWare Fusion guest running on El Capitan). XCode 8.2.1 is installed.

How can I resolve this?
Eli M

Posts: 1,346
Registered: 11/9/13
Re: PAServer - How to acquire debugging permission?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 8, 2017 6:58 AM   in response to: Incus J in response to: Incus J
Apple may have changed or depreciated some call that the XE4 PAServer uses. The newer versions of PAServer still work this way. Maybe you can put PAServer in a special folder or give it permissions manually via the popup menu before it runs?
Incus J

Posts: 5
Registered: 7/16/09
Re: PAServer - How to acquire debugging permission?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 11, 2017 7:31 AM   in response to: Eli M in response to: Eli M
Thanks, that would make sense - I'll see if I can figure out what permissions it requires. At present, right-clicking the app and selecting Get Info reveals the following permissions currently assigned:

system - Read & Write
wheel - Read Only
everyone - Read Only

What should I add or change in that list to enable debugging permission?
Bogdan Dragulin

Posts: 1
Registered: 4/15/01
Re: PAServer - How to acquire debugging permission?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 1, 2017 4:03 AM   in response to: Incus J in response to: Incus J
You have to run following inside PAServer folder, usually home\Application\Embarcadero\PAServer

sudo chown root dbkosx_16_0
sudo chmod u+s,g+x dbkosx_16_0
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02