Problem with debugger - "File /mydir/.settings does not exist". [message #156668] |
Mon, 24 October 2005 00:35 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #167673 is a reply to message #156668] |
Sat, 08 April 2006 18:46 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04851 seconds