920 exctype = self.__extractExceptionName(exctype) |
920 exctype = self.__extractExceptionName(exctype) |
921 |
921 |
922 if excval is None: |
922 if excval is None: |
923 excval = '' |
923 excval = '' |
924 |
924 |
925 if unhandled: |
925 exctypetxt = ( |
926 exctypetxt = "unhandled {0!s}".format(str(exctype)) |
926 "unhandled {0!s}".format(str(exctype)) |
927 else: |
927 if unhandled else |
928 exctypetxt = str(exctype) |
928 str(exctype) |
929 |
929 ) |
930 excvaltxt = str(excval) |
930 excvaltxt = str(excval) |
931 |
931 |
932 # Don't step into libraries, which are used by our debugger methods |
932 # Don't step into libraries, which are used by our debugger methods |
933 if exctb is not None: |
933 if exctb is not None: |
934 self.stop_everywhere = False |
934 self.stop_everywhere = False |