A simple example. The DDAPI has functions trace brk to compile example dmd -g foo.d ddapi.d and then run the debugger on foo.exe