Hi, I'm new to this group and Eclipse. I have installed Eclipse
with DDT and GDB and the debugger steps through a HelloWorld.cpp
successfully, but a DDT project doesn't do likewise. The
HelloWorld.d prints the correct output to the console but there
doesn't seem to be any debug activity.
Here are some screenshots of the Eclipse menus:
http://tryimg.com/4/ejnj.png

Hi, I'm new to this group and Eclipse. I have installed Eclipse
with DDT and GDB and the debugger steps through a
HelloWorld.cpp successfully, but a DDT project doesn't do
likewise. The HelloWorld.d prints the correct output to the
console but there doesn't seem to be any debug activity.
Here are some screenshots of the Eclipse menus:
http://tryimg.com/4/ejnj.png

Hi, I'm new to this group and Eclipse. I have installed Eclipse with
DDT and GDB and the debugger steps through a HelloWorld.cpp
successfully, but a DDT project doesn't do likewise. The HelloWorld.d
prints the correct output to the console but there doesn't seem to be
any debug activity.
Here are some screenshots of the Eclipse menus:
http://tryimg.com/4/ejnj.png

Hi, I'm new to this group and Eclipse. I have installed
Eclipse with
DDT and GDB and the debugger steps through a HelloWorld.cpp
successfully, but a DDT project doesn't do likewise. The
HelloWorld.d
prints the correct output to the console but there doesn't
seem to be
any debug activity.
Here are some screenshots of the Eclipse menus:
http://tryimg.com/4/ejnj.png

The "no symbol table load" message indicates the file does not
have debug information compiled in. How did you compile the
executable?

The "no symbol table load" message only displayed a few times. I
think I compiled it using Project -> Build Project and this is
how I ran the executable:
http://tryimg.com/4/empty.png
This is where I am at with the debugger, it says it has no line
number information:
http://tryimg.com/4/nolin.png

The "no symbol table load" message only displayed a few times. I think I
compiled it using Project -> Build Project and this is how I ran the
executable:
http://tryimg.com/4/empty.png
This is where I am at with the debugger, it says it has no line number
information:
http://tryimg.com/4/nolin.png

When GDB says function main has no line number information, it's
referring to the C runtime main function, not the D main from
HelloWorld.d . Normally none of the C runtime will have debug information.
In that situation, if you place a breakpoint int the writeln("Hello
world!") line, and then resume execution, it should run up to that
point. Give that a try.
--
Bruno Medeiros
https://twitter.com/brunodomedeiros

When GDB says function main has no line number information,
it's referring to the C runtime main function, not the D main
from HelloWorld.d . Normally none of the C runtime will have
debug information.
In that situation, if you place a breakpoint int the
writeln("Hello world!") line, and then resume execution, it
should run up to that point. Give that a try.

That works, although the original intention was that "-g" option should
be added in its own line in the "Managed response file" field.
It actually should be added by default, so maybe it didn't due to a bug.
In any case it doesn't matter anymore, all that functionality has been
removed in the upcoming version of DDT, replaced by the DUB builder.
--
Bruno Medeiros
https://twitter.com/brunodomedeiros