On Tue, Feb 17, 2015 at 04:39:07AM -0800, José Caballero wrote:
> I started debugging my program at cgdb and it doesn't show the source code.
> I'm currently using Ubuntu 14.10 and cgdb 0.6.7. I installed it via apt-get
> and didn't work.
>
> I also tried installing it from source code, version 0.6.8, but it also
> didn't show the code. I attach a image while debugging now with the apt-get
> version:
Use version .6.8, version .6.7 had a nasty hang in it on program close.
As far as the source not showing, I don't recall seeing an issue like
this in a very long time. Typically it means that you have no debugging
information.
After you run your program through cgdb and see no source files, please
attach the contents of,
$HOME/.tgdb/a2_tgdb_debug.txt
$HOME/.tgdb/tgdb_log.txt
so that I can perhaps investigate why your source files can not be
opened.
Thanks,
Bob Rossi