parameters: (cls)
docstring: When tracing, call this on every single step event
          for step on branch mode.
  
          @raise WindowsError:
              Raises C{ERROR_DEBUGGER_INACTIVE} if the debugger is not attached
              to least one process.
  
          @raise NotImplementedError:
              Current architecture is not C{i386} or C{amd64}.
  
          @warning:
              This method uses the processor's machine specific registers (MSR).
              It could potentially brick your machine.
              It works on my machine, but your mileage may vary.
  
          @note:
              It doesn't seem to work in VMWare or VirtualBox machines.
              Maybe it fails in other virtualization/emulation environments,
              no extensive testing was made so far.
docstring_summary: When tracing, call this on every single step event
          for step on branch mode.
docstring_tokens: When tracing call this on every single step event for step on branch mode .
function: def enable_step_on_branch_mode(cls):
          """
          When tracing, call this on every single step event
          for step on branch mode.
  
          @raise WindowsError:
              Raises C{ERROR_DEBUGGER_INACTIVE} if the debugger is not attached
              to least one process.
  
          @raise NotImplementedError:
              Current architecture is not C{i386} or C{amd64}.
  
          @warning:
              This method uses the processor's machine specific registers (MSR).
              It could potentially brick your machine.
              It works on my machine, but your mileage may vary.
  
          @note:
              It doesn't seem to work in VMWare or VirtualBox machines.
              Maybe it fails in other virtualization/emulation environments,
              no extensive testing was made so far.
          """
          cls.write_msr(DebugRegister.DebugCtlMSR,
                  DebugRegister.BranchTrapFlag | DebugRegister.LastBranchRecord)
function_tokens: def enable_step_on_branch_mode ( cls ) : cls . write_msr ( DebugRegister . DebugCtlMSR , DebugRegister . BranchTrapFlag | DebugRegister . LastBranchRecord )