DDD problem
Hi everyone,
I have a serious problem right now, my DDD wont work anymore. When i launch it : bash$ ddd I cant do anything, the little green thing at the right bottom constantly blink and it says Opening session "2327865q4a1...3243465464" at bottom left I cant open program, the window just doesnt show the debug window says : Could not attach to process. if your uid .. bla bla.. or try again as the root user. ptrace: Operation not permitted /home/.../"random 4 digit": No such file or directory When i try to run it as super user : bash$ sudo ddd its the exact same thing except that i dont have opening session at bottom left. And the debug consol says a bunch of Reading Symbol for .. Loaded Symbol for.. but still can't debug :/ I hope you guys can help me on this. E |
Please indicate exactly how you are compiling your application, and then specify exactly how you are running DDD. If the error still persists, please post the exact error.
Right now I suspect that because your executable file has white-space in the file name, you are not properly escaping these with a backslash. For example: Code:
ddd random\ 4\ digit |
Actually Im executing ddd without arguments, i just type ddd in my terminal.
/home/.../"random 4 digit": No such file or directory And this has nothing to do with any executable. I type "random 4 digits" because it varies through ddd execution it can be for example /home/.../3452 or /home/.../2145 Edit : its the exact same problem when i run : ddd test ( test is an executable ) |
Quote:
|
Yes :)
In the DDD: Debug Window |
Is 'ddd' aliased to something?
Try entering /usr/bin/ddd |
I have the same problem :/
Edit : btw im on ubuntu 12.04, and i did a purge of ddd and gdb then reinstalled both. and gdb works well. |
Do you have a file ~/.gdbinit?? If in doubt, try running ddd again, but specify the -n option. For example:
Code:
ddd -n |
No i dont have a .gdbinit in my homedirectory. ddd -n does the exact same thing :/
edit : the 4 random digits seems to be the pid of the ddd processus |
I get the impression that the "random 4 digits" is actually a process ID. Could you verify the permissions on /proc
Code:
ls -ld /proc Code:
dr-xr-xr-x 172 root root 0 Jun 17 16:59 /proc |
i get : dr-xr-xr-x 185 root root 0 juil. 2 2012 /proc
|
Well, I really do not know what the issue could be.
Check to see if you have a hidden directory ~/.ddd. If so, remove it, and then try launching ddd again. |
Thanks a lot :), I removed the folder and now it works.
Thank you for your time. E |
All times are GMT -5. The time now is 10:49 AM. |