Fix for bug 2909 Check if we are in debugging mode, before dumping the trace information.
Fix for bug 2909
Check if we are in debugging mode, before dumping
the trace information.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb