Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger fails to debug a simple "hello world" program.
Debugger fails to debug a simple "hello world" program. [message #208735] Mon, 28 January 2008 22:57 Go to next message
Wendell Nichols is currently offline Wendell NicholsFriend
Messages: 11
Registered: July 2009
Junior Member
From time to time I have mysterious problems with the debugger. Usually
deleting the project and rebuilding it from scratch fixes it. However
currently it will not debug a simple hello world program. I've deleted
the workspace, and the .project file. It still says:

Error stopping at main.
Target request failed: Target is not responding (timed out).


I'm running on linux. I tried the "verbose" option for gdb, but it
seems to print most of the output on the same line rendering it
unreadable. (prints over itself many times).

If only the simple things would work...
wcn
Re: Debugger fails to debug a simple "hello world" program. [message #208753 is a reply to message #208735] Mon, 28 January 2008 23:23 Go to previous messageGo to next message
Wendell Nichols is currently offline Wendell NicholsFriend
Messages: 11
Registered: July 2009
Junior Member
I cleaned up my environment (script I use to start eclipse so it can
build via my build files...) and now it works. What I'd really like is
a way to trace the commands used to start the debugger and interact with
it so I can "see" whats going on when it doesn't work.
wcn

Wendell Nichols wrote:
> From time to time I have mysterious problems with the debugger. Usually
> deleting the project and rebuilding it from scratch fixes it. However
> currently it will not debug a simple hello world program. I've deleted
> the workspace, and the .project file. It still says:
>
> Error stopping at main.
> Target request failed: Target is not responding (timed out).
>
>
> I'm running on linux. I tried the "verbose" option for gdb, but it
> seems to print most of the output on the same line rendering it
> unreadable. (prints over itself many times).
>
> If only the simple things would work...
> wcn
Re: Debugger fails to debug a simple "hello world" program. [message #208828 is a reply to message #208753] Wed, 30 January 2008 08:06 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Wendell Nichols wrote:

> What I'd really like is
> a way to trace the commands used to start the debugger and interact with
> it so I can "see" whats going on when it doesn't work.
> wcn
Go to the tab "Debugger" in the debug configuration of your application
and check "Verbose console mode". You should see then the commands send to
the debugger.

Axel


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:working directory for .bat files
Next Topic:preproccesor define in header file missing when header file included
Goto Forum:
  


Current Time: Thu Jul 25 22:27:08 GMT 2024

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

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

Back to the top