zhmt: > In short words, I want to catch something like > NullPointerException. > > Is this possible? One solution is to add null tests to D in nonrelease mode. A better solution is to modify D to remove all or most chances of dereferencing null pointers and class references. Bye, bearophile