Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I start GDB from the command line I have no problems. But when I start debugging a program 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

share|improve this question
    
"With the root password it lets me debug, but I would not debug with the root account!" And why is that? It has root permissions either way. –  Daniel Beck Mar 16 '11 at 21:42
    
@Daniel: First of all, I may not have the root password. Then, if I run any program as user, generally the program itself should not have more rights than the user who launched it. E.g. I do not think a buggy gdb launched by a user could ever corrupt another user's files. –  Pietro Mar 16 '11 at 22:20
    
How did you add your user to that group? What is that group's actual name, _developer? Also see here. –  Daniel Beck Mar 17 '11 at 4:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.