Debugging LDC executables

MIURA Masahiro echochamber at gmail.com
Mon May 25 01:30:20 PDT 2009


Hi, I'm also looking forward to using debugger on Linux!

Timo Gransch wrote:
> I compile using
> 
> ldc -g -debug test.d

Earlier this month I tried to debug LDC-compiled programs with llvm-db,
the LLVM debugger, on Ubuntu.  It seems to be immature, unfortunately:

% ldc -g ./resauth.d
% ./resauth
<<works correctly>>
% llvm-db ./resauth
NOTE: llvm-db is known useless right now.
llvm-db: The LLVM source-level debugger
Loading program... Error: Could not find program './resauth'!
(llvm-db) %

The llvm-db is installed with "sudo apt-get install llvm".
Perhaps a newer llvm-db is usable, I haven't tried.


More information about the Digitalmars-d-debugger mailing list