-
-
Notifications
You must be signed in to change notification settings - Fork 76
Remake with ddd
rocky edited this page Apr 17, 2011
·
1 revision
A posting from the bashdb-remake wiki from a while ago...
Someone asked about DDD 3.3.12 which supports debugging GNU Makefiles with remake. To use, first, double check that the feature is there, since it is possible to build ddd without it. Run:
ddd ---help | grep make
and it should output a line like this:
--make Invoke remake (GNU Make) inferior debugger.
Next check to see that you have remake installed:
remake --debugger -f Makefile
This should start remake in debugger mode on Makefile, where Makefile is the pathname for GNU Makefile that you want to debug.
If both of those work, then try the invocation above suggested by --help:
ddd --make Makefile
Note: Don't confuse the "-f Makefile" in the remake invocation with the ddd invocation which doesn't use "-f".