ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DDD debugger problem


From: Andrew Gaylard
Subject: Re: DDD debugger problem
Date: Fri, 04 Feb 2005 08:13:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114

Ioannis Hadjichambis wrote:
Dear Sir/Madam,

I am trying to debug my program using the DDD debugger. I have also
downloaded a manual for the debugger but I cannot RUN my
program in the debugger. I use the -g flag when compiling. I then write to the command line
 > ddd table2
Then the debugger pops up and i press Programs->Run where it asks for arguments and because my program doesn't need any, I don't provide it with any and so I check the blank line.

I always get the following:

Program terminated with signal ?, Unknown signal.
The program no longer exists.
You can't do that without a process to debug.
(gdb) set args
(gdb) run
warning: Child process unexpectedly missing: No child processes

Program terminated with signal ?, Unknown signal.
The program no longer exists.
You can't do that without a process to debug.
(gdb)

I don't understand why.

Do you have any suggestions?

Kindest regards,

John.

Try this:

ddd ./your_program

break main
run

(assuming that you're using gdb.)

Andrew.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]