[clug-progsig] C++ with debugger on Linux

Dan Cohen dancohen at nucleus.com
Sun Feb 13 09:28:10 PST 2005


On Thu, 2005-02-10 at 16:15, Dan Cohen wrote:
> I want to develop a C++ XML KDE application on my SuSe Linux computer.
> I wonder if any ProgSig reader could recommend a system or platform?

Later, Carl replied:
>It has been a few years so I don't remember the details.
>But I have developed non-graphical C++ applications
>using GDB within Emacs.
>The appropriate source files would load automatically  
>upon hitting break points and stepping through code. 

OK Carl, but using GDB, I can set breakpoints on the "main" source file, and I 
can step into the secondary files, but I can't find a way to set breakpoints 
on those other files.

It could be a command option, and I haven't found the trick.

Any advice on setting breakpoints with GDB?

BTW, I think GDB is a great tool, with the "right" kind of command front-end 
for text. I just haven't found the trick.

Thank you,
 --- Dan Cohen in Calgary



More information about the clug-progsig mailing list