(self, dbg)
Converts request into python variable
Converts request into python variable
Converts request into python variable
def do_it(self, dbg):
        """ Converts request into python variable """
        try:
            result = pydevd_vars.evaluate_expression(self.thread_id, self.frame_id, self.expression, self.doExec)
            if self.temp_name != "":
                pydevd_vars.change_attr_expression(self.thread_id, self.frame_id, self.temp_name, self.expression, dbg, result)
            xml = "<xml>"
            xml += pydevd_xml.var_to_xml(result, self.expression, self.doTrim)
            xml += "</xml>"
            cmd = dbg.cmd_factory.make_evaluate_expression_message(self.sequence, xml)
            dbg.writer.add_command(cmd)
        except:
            exc = get_exception_traceback_str()
            cmd = dbg.cmd_factory.make_error_message(self.sequence, "Error evaluating expression " + exc)
            dbg.writer.add_command(cmd)
def do_it ( self , dbg ) : try : result = pydevd_vars . evaluate_expression ( self . thread_id , self . frame_id , self . expression , self . doExec ) if self . temp_name != "" : pydevd_vars . change_attr_expression ( self . thread_id , self . frame_id , self . temp_name , self . expression , dbg , result ) xml = "<xml>" xml += pydevd_xml . var_to_xml ( result , self . expression , self . doTrim ) xml += "</xml>" cmd = dbg . cmd_factory . make_evaluate_expression_message ( self . sequence , xml ) dbg . writer . add_command ( cmd ) except : exc = get_exception_traceback_str ( ) cmd = dbg . cmd_factory . make_error_message ( self . sequence , "Error evaluating expression " + exc ) dbg . writer . add_command ( cmd )