First implementation of pdbg