Reading through http://www.netbsd.org i've met this: Forcing code to enter DDB Ensure your kernel config file contains '|options DDB|', the file has '|#include "opt_ddb.h"|', then use '|Debugger()|'. ... Does this work on FreeBSD also ?