def showTraceState(self, traceName, eventNumber = None):
    """
    Print out the computed API state at a particular trace event.
    
    @param traceName:     Name of trace to examine
    @param eventNumber:   Print out state at this event, or at the end of the trace by default
    """
    if not traceName in self.analyzer.traces:
      self.analyzer.fail(traceName % "Trace not found: %s")
      
    trace = self.analyzer.traces[traceName]
      
    if eventNumber is None:
      eventNumber = len(trace.events) - 1
    else:
      eventNumber = self.analyzer.parseEventRange(trace, eventNumber)[0]
    state = TraceOperations.computeStateAtEvent(self.analyzer.project, trace, eventNumber)
    
    self.reportInfo(str(state))
dataset/ETHPy150Open skyostil/tracy/src/analyzer/plugins/core/CorePlugin.py/CoreInteractivePlugin.showTraceState/swapped operands of `%`