only write debugger_cmds if DBT has something to write
fixes the code that automatically adds 'class:' and 'module:' entries
fixed merging error (if you use the name 'class:Foo')