()
return retVal
Returns dictionary with local variable content from frame
    where exception has been raised
Returns dictionary with local variable content from frame
    where exception has been raised
Returns dictionary with local variable content from frame where exception has been raised
def getExceptionFrameLocals():
    """
    Returns dictionary with local variable content from frame
    where exception has been raised
    """

    retVal = {}

    if sys.exc_info():
        trace = sys.exc_info()[2]
        while trace.tb_next:
            trace = trace.tb_next
        retVal = trace.tb_frame.f_locals

    return retVal
def getExceptionFrameLocals ( ) : retVal = { } if sys . exc_info ( ) : trace = sys . exc_info ( ) [ 2 ] while trace . tb_next : trace = trace . tb_next retVal = trace . tb_frame . f_locals return retVal