Merge pull request #33 from gdh1995/master

合并了俞则明的工作
begin to print an exception's stack-trace in DEBUG mode; some small improvement