lib/probes/InspectProbe.js
function(attrs, callback) {
      var t = this;

      // Value is the only thing to set
      if (typeof attrs.value === 'undefined') {
        return callback({code:'NO_VALUE'});
      }

      // Set the model elements.  These cause change events to fire
      if (t.isModel) {
        t.value.set(attrs.value);
      }
      else {
        // Set the variable directly
        var jsonValue = JSON.stringify(attrs.value);
        t._evaluate(t.key + ' = ' + jsonValue);
        t.set('value', attrs.value);
      }
      return callback();
    }
function(attrs, callback) {
      var t = this;

      // Value is the only thing to set
      if (typeof attrs.value === 'undefined') {
        return callback({code:'NO_VALUE'});
      }

      // Set the model elements.  These cause change events to fire
      if (t.isModel) {
        t.value.set(attrs.value);
      }
      else {
        // Set the variable directly
        var jsonValue = JSON.stringify(attrs.value);
        t._evaluate(t.key + ' = ' + jsonValue);
        t.set('value', attrs.value);
      }
      return callback();
    }
function ( attrs , callback ) { var t = this ; // Value is the only thing to set if ( typeof attrs . value === 'undefined' ) { return callback ( { code : 'NO_VALUE' } ) ; } // Set the model elements.  These cause change events to fire if ( t . isModel ) { t . value . set ( attrs . value ) ; } else { // Set the variable directly var jsonValue = JSON . stringify ( attrs . value ) ; t . _evaluate ( t . key + ' = ' + jsonValue ) ; t . set ( 'value' , attrs . value ) ; } return callback ( ) ; }
Remotely set the inspected variable's value

@method set_control
@param attrs {Object} Name/Value attributes to set.  All must be writable.
@param callback {Function(error)} Called when the attributes are set or error
Remotely set the inspected variable s value