Debugging width DDD !! Please Help Me !!!!!

Debugging width DDD !! Please Help Me !!!!!

Post by ZBou » Sat, 09 Mar 2002 22:49:37



Hi all !

I'm completely lost with debugging my application usign DDD (X interfarce
for gdb).
My executable project is using 3 dynamic library ( libXXX.so), and in 1 of
those, I got a crash.
So I run DDD with the name of my executable, the main.cpp source file is
opened, but
I DON'T KNOW HOW TO DEBUGGUG INTO THE SOURCE FILES OF THE DYNAMIC LIBRARY !
I'ver tried to open the source file of my dynamic library, but the program
is not stopping when I put a breakpoint !!
Why ????

However, when I put a breakpoitn into the main.cpp source file, no problem
it stopped.

I hope that someone could help me !

Thanks in advance.

Karim

 
 
 

Debugging width DDD !! Please Help Me !!!!!

Post by Jens.Toerr.. » Sun, 10 Mar 2002 02:26:58



> I'm completely lost with debugging my application usign DDD (X interfarce
> for gdb).
> My executable project is using 3 dynamic library ( libXXX.so), and in 1 of
> those, I got a crash.
> So I run DDD with the name of my executable, the main.cpp source file is
> opened, but
> I DON'T KNOW HOW TO DEBUGGUG INTO THE SOURCE FILES OF THE DYNAMIC LIBRARY !
> I'ver tried to open the source file of my dynamic library, but the program
> is not stopping when I put a breakpoint !!
> Why ????
> However, when I put a breakpoitn into the main.cpp source file, no problem
> it stopped.

Did you compile the dynamic libraries with -g (or -ggdb, DDD is just a
graphical frontend to gdb usually)?
                                        Regards, Jens
--
      _  _____  _____

  _  | |  | |    | |          AG Moebius, Institut fuer Molekuelphysik
 | |_| |  | |    | |          Fachbereich Physik, Freie Universitaet Berlin
  \___/ens|_|homs|_|oerring   Tel: ++49 (0)30 838 - 53394 / FAX: - 56046

 
 
 

1. Debugging width DDD !! Please Help Me !!!!!

Hi all !

I'm completely lost with debugging my application usign DDD (X interfarce
for gdb).
My executable project is using 3 dynamic library ( libXXX.so), and in 1 of
those, I got a crash.
So I run DDD with the name of my executable, the main.cpp source file is
opened, but
I DON'T KNOW HOW TO DEBUGGUG INTO THE SOURCE FILES OF THE DYNAMIC LIBRARY !
I'ver tried to open the source file of my dynamic library, but the program
is not stopping when I put a breakpoint !!
Why ????

However, when I put a breakpoitn into the main.cpp source file, no problem
it stopped.

I hope that someone could help me !

Thanks in advance.

Karim

2. Question about X and Linux

3. help about ddd debug tool .

4. SCSI bus crash?

5. gdb/ddd shared library debugging problem

6. NIS+ client for Linux

7. How to Debug A program using ddd

8. eepro100.c support for 82801CAM (ie in Compaq Evo N600c)

9. debugging dhcp cient using ddd

10. DDD - GDB - FORTRAN - Debug

11. DDD - FORTRAN - DEBUG

12. Remote debugging with DDD

13. etting debug flags doesn't help with debugging.