Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem with debugger - "File /mydir/.settings does not exist".
Problem with debugger - "File /mydir/.settings does not exist". [message #156668] Mon, 24 October 2005 00:35 Go to next message
Eclipse UserFriend
Originally posted by: pretzel_n_g.hotmail.com

Hi,

I'm using CDT 3.0.0 and Cygwin/gcc/g++ or WinXP.

When I try to debug my c++ application, the debugger stops at the
appropriate lines where breakpoints have been set (as indicated in the
"Debug" tab - says "Thread[1] (Suspended) |->1 main() at
...\blahblah.cpp:24" etc. etc.) however, it doesn't point to which line
in the source code listing.

In fact when I fire up the debugger I get a panel which says the following:
"File /mydir/.settings does not exist".
This panel also comes up whenever I right-click the "Debug" panel and
select "Lookup source".

When I examine the directory structure of the project, a directory
called ".settings" exists but no file.

Would anyone please be able to help me to get the debugger working
properly please?

Thanks very much for your help.
PretzelX.
Re: Problem with debugger - "File /mydir/.settings does not exist". [message #156696 is a reply to message #156668] Mon, 24 October 2005 14:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

This bug has been fixed in the Eclipse 3.1 M6. Which version of Eclipse are
you using?

"PretzelX" <pretzel_n_g@hotmail.com> wrote in message
news:djha9f$kri$1@news.eclipse.org...
> Hi,
>
> I'm using CDT 3.0.0 and Cygwin/gcc/g++ or WinXP.
>
> When I try to debug my c++ application, the debugger stops at the
> appropriate lines where breakpoints have been set (as indicated in the
> "Debug" tab - says "Thread[1] (Suspended) |->1 main() at
> ..\blahblah.cpp:24" etc. etc.) however, it doesn't point to which line in
> the source code listing.
>
> In fact when I fire up the debugger I get a panel which says the
> following:
> "File /mydir/.settings does not exist".
> This panel also comes up whenever I right-click the "Debug" panel and
> select "Lookup source".
>
> When I examine the directory structure of the project, a directory called
> ".settings" exists but no file.
>
> Would anyone please be able to help me to get the debugger working
> properly please?
>
> Thanks very much for your help.
> PretzelX.
Re: Problem with debugger - "File /mydir/.settings does not exist". [message #156768 is a reply to message #156696] Tue, 25 October 2005 23:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pretzel_n_g.hotmail.com

I'm using Eclipse 3.1.0. Thanks for that hint - I will download the
latest Eclipse.

I appreciate your help!
PretzelX.

Mikhail Khodjaiants wrote:
> This bug has been fixed in the Eclipse 3.1 M6. Which version of Eclipse are
> you using?
>
Re: Problem with debugger - "File /mydir/.settings does not exist". [message #156848 is a reply to message #156768] Wed, 26 October 2005 21:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Eclipse 3.1 M6 is the milestone 6 of the Eclipse 3.1.0 version. This bug
should be fixed in the version you are using.

"PretzelX" <pretzel_n_g@hotmail.com> wrote in message
news:djmg11$m1v$1@news.eclipse.org...
> I'm using Eclipse 3.1.0. Thanks for that hint - I will download the
> latest Eclipse.
>
> I appreciate your help!
> PretzelX.
>
> Mikhail Khodjaiants wrote:
>> This bug has been fixed in the Eclipse 3.1 M6. Which version of Eclipse
>> are you using?
>>
Re: Problem with debugger - "File /mydir/.settings does not exist". [message #167673 is a reply to message #156668] Sat, 08 April 2006 18:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shea08.eastlink.ca

I am seeing the same problem. I build the debug version with -g3. Then
hit debug. I believe the program stop at my break point, but the editor
shows not indication of where it stopped. Also, stepping into a funtion
does not update the editor. The output on the console tab is this:
<output>
No registers.
No source file named main.cpp.
Stopped due to shared library event
No source file named main.cpp.
Stopped due to shared library event
Stopped due to shared library event
Single stepping until exit from function main,
which has no line number information.
Single stepping until exit from function __libc_start_main,
which has no line number information.
</output>

I am using eclipse 3.1.2, with latest cdt. gcc4.0.3, and gdb 6.4.

Thanks.
Re: Problem with debugger - "File /mydir/.settings does not exist". [message #167681 is a reply to message #167673] Sat, 08 April 2006 18:54 Go to previous message
Eclipse UserFriend
Originally posted by: shea08.eastlink.ca

Shea Martin wrote:
> I am seeing the same problem. I build the debug version with -g3. Then
> hit debug. I believe the program stop at my break point, but the editor
> shows not indication of where it stopped. Also, stepping into a funtion
> does not update the editor. The output on the console tab is this:
> <output>
> No registers.
> No source file named main.cpp.
> Stopped due to shared library event
> No source file named main.cpp.
> Stopped due to shared library event
> Stopped due to shared library event
> Single stepping until exit from function main,
> which has no line number information.
> Single stepping until exit from function __libc_start_main,
> which has no line number information.
> </output>
>
> I am using eclipse 3.1.2, with latest cdt. gcc4.0.3, and gdb 6.4.
>
> Thanks.


I figured it out. Just run Debug... and make sure it is pointing out
the Debug binary, not the release. Stupid me...
~S
Previous Topic:Outline
Next Topic:C in WinXP
Goto Forum:
  


Current Time: Sat Oct 19 22:09:43 GMT 2024

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

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

Back to the top