Xamarin Workbooks & Inspector provide interactive tools for learning, experimenting, and even modifying your running app.
With this 1.0 release, we are now officially taking Workbooks & Inspector out of preview!
Create a rich C# workbook for Android, iOS, Mac, WPF, or Console, and get instant live results as you learn these APIs.
Workbooks are powered by the same underlying editor as Visual Studio Code, with completion results provided by the Roslyn compiler suite, for a very comfortable editing experience.
Workbooks can even reference external assemblies, NuGet packages, or .csx
C# script files.
Xamarin Workbooks understand the results of your code, and show rich representations of those results whenever possible. For instance, a UIColor
may render as an actual color, a DateTime
as a calendar, or an Android Location
object as a map.
For any result, choose "Object Members" to look through the object's public properties and fields.
The view inspector lets you explore your UI in 2D or 3D, show hidden views, explore iOS and Mac backing layers, and more! Xamarin.Forms apps can see both the native view hierarchy and the Xamarin.Forms visual tree.
The view highlighter allows you to hover over your app, pick a view, and get a live reference to it in the C# REPL.
Exploring and modifying your running C# app has never been this easy!
For a full rundown of features and release history, check out the complete 1.0 Release Notes
Posts
Does not compute.
Seems to work on iOS, but crashes on Android.
@OddbjornBakke if you could provide a full description of what does not work, including steps to reproduce, I would be happy to look into the problem for you.
Well, I start the debugger from Xamarin Studio, and wait until the Android app is fully loaded (on Android Player Nexus 5 Lollipop).
Then I press the inspect button, and wait until the Inspector is fully loaded.
Then I press the "Show the View Inspector" button. The Inspector hangs for about 30 seconds, and then closes.
This is not much help, but if there is some log files or similar I can send you, I will happely do this.
I am using Inspector 1.0.0.0, master/1f3067d
Also if I try to write "Xamarin.Forms.Application.Current" in the REPL view, I get errors like:
error CS0234: The type or namespace name 'Interactive' does not exist in the namespace 'Xamarin' (are you missing an assembly reference?)
null
@OddbjornBakke Log files from the Inspector client and from Xamarin Studio would be helpful. See https://developer.xamarin.com/guides/cross-platform/inspector/install/#Reporting_Bugs for log locations.
What version of Xamarin.Forms does your app use?
Samples Error
Bad links (404 =>Oops, you found a dead link ... sorry!)
Xamarin.Forms
Hello, Xamarin.Forms
Alert
@AndreasKlapperich thanks, I'll let the docs team know.
Forms Version 2.3.2.127, added log in bugzilla: https://bugzilla.xamarin.com/show_bug.cgi?id=47561
However it does not seem to be much in the logged by inspector.
@OddbjornBakke thanks, we'll follow up in the bug. You should attach Xamarin Studio logs as well (see my link that you quoted) when filing Inspector bugs.