473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

DDD debugger problem

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?
Nov 14 '05 #1
2 2978
Ioannis Hadjichambis wrote:
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?


Your program is dying somehow.

Do not use any gdb extensions and use gdb itself.

gdb table2
run

If this works, it means that your installation of ddd is
screwed and you should re-install it.

If it doesn't, it means that your program is linking with some
wrong shared library and your program crashes before it
reaches the main() function.

Inspect your program to see which shared objects it uses
and then try figuring out which one is faulty.

jacob
Nov 14 '05 #2
jacob navia wrote:
Ioannis Hadjichambis wrote:
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?

Your program is dying somehow.

Do not use any gdb extensions and use gdb itself.

gdb table2
run

If this works, it means that your installation of ddd is
screwed and you should re-install it.

If it doesn't, it means that your program is linking with some
wrong shared library and your program crashes before it
reaches the main() function.

Inspect your program to see which shared objects it uses
and then try figuring out which one is faulty.


As an addendum:
DDD and gdb are not topical here. For first aid with gdb,
you can ask in gnu.gcc.help (it is not quite topical there,
but eventually everything that does fit nowhere, goes there).
If it is a problem with DDD, have a look at the DDD web page;
probably there is some sort of forum or mailing list or some
other source of help.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alliss | last post by:
Whenever I stop the IE script debugger it closes the browser window as well. Is there any way to overcome this? Thanks.
0
by: James | last post by:
The C++.NET debugger version 2003 has a VERY SERIOUS flaw. I have attempted to rebuild this same application almost a dozen times to get around this bug. I will be forced to scrap the .NET stuff...
2
by: Carl | last post by:
Hi. I'm having some trouble with my Visual Studio.NET debugger I want to debug ASP.NET Web Applications, but I don't have IIS installed on my machine (work requirement); IIS is actually installed on...
1
by: JJ_377 | last post by:
I can get the debugger to work: I get a message: "sp debugging may not work if you log as as Local System Account" while SQL Service is configured to run as a service. You can open Event Viwer to...
5
by: CJ Taylor | last post by:
Hey anyone else had the problem of when using a watch window with the little +- charactesr that all of a sudden, they can't see all the properties in the watch.. like you press the +- thing and it...
0
by: Slobodan | last post by:
I have a following problem: When I try to start a project, it build's fine, but I receive an error: "Error starting project: Unable to start debugger Debugger not configured properly or not...
3
by: Doug | last post by:
I'm having problems w/ the VS2005 debugger with C#. It blows past any breakpoints in even the simplest "Hello World" console application. I can't do any step-by-step debugging. I've provided the...
0
by: Jeff Beem | last post by:
I have a problem where visual studio doesn't break into the vs.net debugger when an exception is encountered. Instead I get the standard windows exception message where it allows one to cancel or...
1
by: Paolo Pagano | last post by:
I have a VS2005 solution with two projects: 1) a .net windows forms application (which references) 2) a managed C++ CLR library (using MFC ia a Shared DLL) .
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.