public bool StoreValue (ObjectValue val) { try { val.SetRawValue (textView.Buffer.Text); } catch { MonoDevelop.Ide.MessageService.ShowError ("Unable to set text"); } return true; }
public override bool StoreValue (ObjectValue val) { switch (val.TypeName) { case "char[]": val.SetRawValue (textView.Buffer.Text.ToCharArray ()); return true; case "string": val.SetRawValue (textView.Buffer.Text); return true; default: return false; } }
public override bool StoreValue (ObjectValue val) { switch (val.TypeName) { case "byte[]": // HACK: make sure to load the full byte stream... long length = hexEditor.HexEditorData.Length; hexEditor.HexEditorData.GetBytes (length - 1, 1); val.SetRawValue (hexEditor.HexEditorData.Bytes); return true; default: return false; } }
public override bool StoreValue (ObjectValue val) { var options = DebuggingService.DebuggerSession.EvaluationOptions.Clone (); options.AllowTargetInvoke = true; switch (val.TypeName) { case "byte[]": // HACK: make sure to load the full byte stream... long length = hexEditor.HexEditorData.Length; hexEditor.HexEditorData.GetBytes (length - 1, 1); val.SetRawValue (hexEditor.HexEditorData.Bytes, options); return true; default: return false; } }
public bool StoreValue (ObjectValue val) { val.SetRawValue (textView.Buffer.Text); return true; }
public override bool StoreValue (ObjectValue val) { var options = DebuggingService.DebuggerSession.EvaluationOptions.Clone (); options.AllowTargetInvoke = true; switch (val.TypeName) { case "char[]": val.SetRawValue (textView.Buffer.Text.ToCharArray (), options); return true; case "string": val.SetRawValue (textView.Buffer.Text, options); return true; default: return false; } }
public override bool StoreValue (ObjectValue val) { switch (val.TypeName) { case "byte[]": val.SetRawValue (hexEditor.HexEditorData.Bytes); return true; default: return false; } }