def SendDbgCommand(cmd):
    s = Eval('SendDbgCommand("%s");' % idaapi.str2user(cmd))
    if s.startswith("IDC_FAILURE"):
        raise Exception, "Debugger command is available only when the debugger is active!"
    return s

# wfne flag is combination of the following:
Sends a command to the debugger module and returns the output string.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SendDbgCommand