Debugging Problems [message #152232] |
Wed, 24 August 2005 20:37  |
Eclipse User |
|
|
|
Originally posted by: ozbod_333.hotmail.com
Hi all,
I am trying to use CDT3.0 on Linux AS3.0 with GDB 5.3.90-0.20030710.40rh to
debug a multi-threaded application
that makes numerous calls to shared libraries. I am having a number of
issues with the debugger under CDT which I am
not having if I run 'ddd' which is strange as both tools sit on top of
GDB??.
Problem 1: The CDT debugger refuses to see the source code for a given
shared library. I have added all the paths and
locations as required but still it won't let me step into that area of code.
'ddd' finds all the code fine without having to setup
a single thing.
Problem 2: The application is multithreaded and when I allow the application
to run on and create all the threads the
debugger won't stop on any breakpoint even though I know the threads are
accessing some of the methods with bp's
and then eventually cannot 'attach' to the thread and get any info at all,
i.e. I cannot even get the debugger to pause
the thread. Again all the above can be done fine with 'ddd'.
Our organisation is really keen to adopt Eclipse and CDT as our defacto C++
development IDE but it is hard to
convince people when it cannot perform as well as other (non-integrated)
tools such as 'ddd'. Thus any help anyone
can give in overcoming the above problems would be greatly appreciated.
Cheers,
ozbod
|
|
|
|
Re: Debugging Problems [message #152335 is a reply to message #152232] |
Fri, 26 August 2005 02:44  |
Eclipse User |
|
|
|
Originally posted by: grkoma.nospamgmail.com
Hello,
I had similar problem some time ago, try to set source lookup path. If
it is not set correctly, breakpoints are showed in editor, but debugger
wont stop on it. Setting source lookup path will solve this problem.
Marko
exquisitus wrote:
> Hi all,
>
> I am trying to use CDT3.0 on Linux AS3.0 with GDB 5.3.90-0.20030710.40rh to
> debug a multi-threaded application
> that makes numerous calls to shared libraries. I am having a number of
> issues with the debugger under CDT which I am
> not having if I run 'ddd' which is strange as both tools sit on top of
> GDB??.
>
> Problem 1: The CDT debugger refuses to see the source code for a given
> shared library. I have added all the paths and
> locations as required but still it won't let me step into that area of code.
> 'ddd' finds all the code fine without having to setup
> a single thing.
>
> Problem 2: The application is multithreaded and when I allow the application
> to run on and create all the threads the
> debugger won't stop on any breakpoint even though I know the threads are
> accessing some of the methods with bp's
> and then eventually cannot 'attach' to the thread and get any info at all,
> i.e. I cannot even get the debugger to pause
> the thread. Again all the above can be done fine with 'ddd'.
>
> Our organisation is really keen to adopt Eclipse and CDT as our defacto C++
> development IDE but it is hard to
> convince people when it cannot perform as well as other (non-integrated)
> tools such as 'ddd'. Thus any help anyone
> can give in overcoming the above problems would be greatly appreciated.
>
> Cheers,
>
> ozbod
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.30895 seconds