docstr: If True, the console will catch all unhandled exceptions and display the stack
  trace. Each exception caught clears the last.
docstr_tok: ["If","True",",","the","console","will","catch","all","unhandled","exceptions","and","display","the","stack","trace",".","Each","exception","caught","clears","the","last","."]
code: def catchAllExceptions(self, catch=True):
      """
      If True, the console will catch all unhandled exceptions and display the stack
      trace. Each exception caught clears the last.
      """
      with SignalBlock(
          self.catchAllExceptionsBtn.toggled, self.catchAllExceptions
      ):
          self.catchAllExceptionsBtn.setChecked(catch)
  
      if catch:
          with SignalBlock(
              self.catchNextExceptionBtn.toggled,
              self.catchNextException,
          ):
              self.catchNextExceptionBtn.setChecked(False)
          self.enableExceptionHandling()
      else:
          self.disableExceptionHandling()
  
imports: import sys, re, traceback, threading
  from ..None import exceptionHandling
  from ..Qt import QtWidgets, QtCore
  from ..functions import SignalBlock
  from .stackwidget import StackWidget
label_desc: Use image node_id 6 for calling the ExceptionHandlerWidget obj's underlying member method code with example usage: obj.catchAllExceptions(catch) without return types