Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debug using "C/C++ Attach to Local Application"
Debug using "C/C++ Attach to Local Application" [message #147118] Wed, 22 June 2005 13:34 Go to next message
Eclipse UserFriend
Originally posted by: tdaa.home.se

I develop a component in a big project. The project is in clearcase, so I
have to start eclipse in my Confic spec for Clearcase in a console window.
All that works fine.
Now, I want to debug my component when it runs in the "big" project exec
file.

I do as following:

* I Start my "big" project exec file

* in my component I Choose Debug As.. "C/C++ Attach to Local Application"
In the field Project: i choose my component project
In the field C/C++ Application: i choose my "big" project exec
Debugger gdb

* then I click debug and get a list of all running processes and choose my
running project exec.

When i came to the debug perspective I got following error:

[Invalid file specified for console output: /vobs/test/alpha/src]
Warning: /vobs/test/alpha/src-r: No such file or directory.
info threads
2 Thread 1089784752 (LWP 14163) 1 Thread 1077192000 (LWP 14145) No
source file named /vobs/test/alpha/src/myFile.c

Anyone now how to fix my problem?
Is gdb running outside my clearcase vob even if I start it from the
inside in eclipse, which is running in my ClearCase vob?

I run eclipse in Linux
Eclipse version: eclipse-SDK-3.1RC3-linux-gtk.tar.gz
CDT version: org.eclipse.cdt.sdk-3.0.0-I200506200301-linux.x86.tar.gz

/T
Re: Debug using "C/C++ Attach to Local Application" [message #147138 is a reply to message #147118] Wed, 22 June 2005 15:50 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

This is a bug in CDT M7. It hasn't been tested seriously yet.
For development purposes I would suggest to use CDT 2.1.1.

"Tomas" <tdaa@home.se> wrote in message
news:064c05ad4b92ed19f969887ef98601fd$1@www.eclipse.org...
>I develop a component in a big project. The project is in clearcase, so I
>have to start eclipse in my Confic spec for Clearcase in a console window.
> All that works fine. Now, I want to debug my component when it runs in the
> "big" project exec file.
>
> I do as following:
>
> * I Start my "big" project exec file
>
> * in my component I Choose Debug As.. "C/C++ Attach to Local Application"
> In the field Project: i choose my component project
> In the field C/C++ Application: i choose my "big" project exec
> Debugger gdb
>
> * then I click debug and get a list of all running processes and choose my
> running project exec.
>
> When i came to the debug perspective I got following error:
>
> [Invalid file specified for console output: /vobs/test/alpha/src]
> Warning: /vobs/test/alpha/src-r: No such file or directory.
> info threads
> 2 Thread 1089784752 (LWP 14163) 1 Thread 1077192000 (LWP 14145) No
> source file named /vobs/test/alpha/src/myFile.c
> Anyone now how to fix my problem?
> Is gdb running outside my clearcase vob even if I start it from the
> inside in eclipse, which is running in my ClearCase vob?
> I run eclipse in Linux
> Eclipse version: eclipse-SDK-3.1RC3-linux-gtk.tar.gz
> CDT version: org.eclipse.cdt.sdk-3.0.0-I200506200301-linux.x86.tar.gz
> /T
>
Previous Topic:Accessing API Documentation in CDT
Next Topic:BREW development
Goto Forum:
  


Current Time: Fri Apr 19 00:08:12 GMT 2024

Powered by FUDForum. Page generated in 0.01701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top