* Represents a value of a primitive type in the debuggee
*/
public class PrimitiveValue : Value {
-
object value;
public PrimitiveValue (VirtualMachine vm, object value) : base (vm, 0) {
}
public override string ToString () {
- return "PrimitiveValue<" + Value + ">";
+ object v = Value;
+
+ return "PrimitiveValue<" + (v != null ? v.ToString () : "(null)") + ">";
}
public Value InvokeMethod (ThreadMirror thread, MethodMirror method, IList<Value> arguments) {