Visual Studio For Mac Looks Different

-->

  1. Visual Studio For Mac Looks Different
  2. Visual Studio For Mac Looks Different Or Looks
  3. Visual Studio For Mac Os
  4. Visual Studio
  5. Install Visual Studio For Mac

Visual Studio for Mac enables the creation of.NET Core solutions, providing the back-end services to your client solutions. Code, debug, and test these cloud services simultaneously with your client solutions for increased productivity.

Developer Community for Visual Studio Product family. After version 7.6 All my Xamarin forms project won't reference.NET Portable Subset assemblies, breaking intellisene. Visual Studio Code is a completely different product when compared to Visual Studio, with emphasis in just writing the code instead of dealing with debugging, compiling, testing, refactoring, and all the other things that make Visual Studio great (and memory consuming). Debugging is a common, and necessary, part of programming. Visual Studio for Mac contains a whole suite of features to make debugging easy. This article looks at the different data visualizations that can be viewed when inspecting objects in the debugger. The *.csproj file looks a little different when using the newest Visual Studio for Mac, because of the.NET core 2.1 version. If you want to use the latest.NET core version, just edit the version attributes of the NuGet packages to 2.1.

Visual Studio for Mac includes UI support for the debugger, allowing visualizations of the values of a variable, field, or property while debugging. These data visualizers show an extended version of the data and allow developers to inspect known structures, for example showing the color of a color struct.

Visualizers in the debug Local pad can be displayed by clicking on the preview icon that appears to the right of the value, when the user hovers over the row:

The list below looks at many of the new visualizations available when debugging in Visual Studio for Mac.

Point

A Point/PointF, or CGPoint in iOS and Mac, will render as a tuple showing the X and Y values in the debug pad:

Size

A Size/SizeF, or CGSize in iOS and Mac, will render as a rectangle. It is drawn to scale until a dimension grows past 250 px, at which point it will scale the rectangle with the largest dimension as 250 px:

Rectangle

A Rectangle/RectangleF, or CGRect in iOS and Mac, will display the dimensions and origin. Similar to Size, it is drawn to scale, until a dimension grows past 250 px:

Coordinate

Coordinates are plotted on a map, with the location pinned to the center:

Color

This will display UIColor, CGColor, and Color properties, depicting the color preview, RGBA components, Hue-Saturation-Lightness values, and the hex value of the color:

Images

Media will be rendered to scale, up to a maximum dimension of 250 px, and will be scaled to fit when the image exceeds 250 px:

Bezier Curves

The visualizer will display an NSBezierPath:

String

A string of fewer than 100 characters is displayed in full, without a preview. Longer strings are displayed in full in the preview. Strings are editable, and the visualizer is accompanied by an edit button, allowing the string value to be edited either in the preview or in the String Value Editor, shown below:

Small Strings:

Visual Studio For Mac Looks Different

]

Medium-length Strings:

Editor:

IEnumerable

IEnumerable enumerates all values; the values of each can be viewed by clicking the Show Values button. The IEnumerable option will not display values for objects such as Array, ArrayList, List<>, Dictionary<,> as these have their own debugger visualizers.

Visual Studio For Mac Looks Different Or Looks

Other Visualizers

Some other types that also have their own inline visualizers are listed below:

Visual Studio For Mac Os

  • Primitives
    • This will show the raw value of the primitive type.
  • Enum
    • This will display the field value without the enum Type qualifier.
  • Tuple
    • Displayed in the format (,)
  • Null
    • Shows 'null' value.
  • URL
    • This will display a clickable hyperlink.
  • IntPtr
    • This will display a hexadecimal representation of the IntPtr.

Visual Studio

Visual Studio For Mac Looks Different

Install Visual Studio For Mac

See also