4

When I start GDB from the command line I have no problems. But when I start debugging a programs from NetBeans (C++), I get this message:

"Type the name and password of a user in the "Developer Tools" group to allow Developer Tools Access to make changes."

My user is already in the "Developer Tools" group, but this fact seems to be ignored.

With the root password it lets me debug, but I would not debug with the root account!

I checked the GDB executable and path, and they all grant executable permissions to everyone.

Any idea? Thank you!

Platform:
MacOS X 10.6.6
NetBeans 6.9.1
GCC 4.2
GDB 6.3.50-20050815

Pietro
  • 12,086
  • 26
  • 100
  • 193

2 Answers2

4

I believe you will find the answer over here: Stop "developer tools access needs to take control of another process for debugging to continue" alert

Basically, you can reinstall Xcode or fix the authorization database.

Community
  • 1
  • 1
vy32
  • 28,461
  • 37
  • 122
  • 246
3

No, you shouldn't need root privileges to run GDB. Does your software need to run as root? If your software runs as root GDB will also need to be run as root.

What happens if you run GDB on the command line?

teambob
  • 1,994
  • 14
  • 19
  • My software does not need root privileges. From the command line, GDB runs with no problems. – Pietro May 18 '11 at 09:50