Allan Thraen
Jul 5, 2011
(3 votes)

Summer of Code: QuickWatch Gadget v.1.1

Todays entry in my summer-series with code-hacks is an update to my little Quick Watch Gadget. I’ve updated it to make sure it works in CMS 6 R2 (actually, that didn’t take long) – and I’ve also made sure it automatically builds a little NuGet package that is now available on the EPiServer NuGet feed.


Essentially this gadget does what it sounds like – it’s like the “Quick Watch” window when you are debugging in Visual Studio.

In the text-field you can type in any expression and it’ll automatically be returned (writing “return” before is optional). Any code you write before a return statement will be executed in the same application-space as the web site is running in – so it’s possible to use this to try out new functionality that is still without a UI, setup different variables, or browse what values are already set.

Below the code-input field you’ll get a browser that lets you browse the returned object structure.

In the settings you can define which namespaces to use, and setup default watches.



Jul 05, 2011


Tattoo Beasts
Tattoo Beasts May 12, 2018 05:08 AM

Very Nice Tips ath. thx

Leading Tattoo Magazine & Database, Featuring best tattoo Designs TattooBeasts & Ideas from around the world. At TattooViral we connects the worlds best tattoo artists

Please login to comment.
Latest blogs
Plug-in manager is back in CMS 12

Plug-in manager is back in the UI, what is it and how can i use it?

Luc Gosso (MVP) | Oct 6, 2022 | Syndicated blog

Display Child Pages in Content Delivery API Response

The below example will implement an instance of IContentConverterProvider to customise the serialisation of PageData and output child pages in the...

Minesh Shah (Netcel) | Oct 4, 2022

Bring the Report Center back in Optimizely CMS 12

The Report Center has been a part of Optimizely CMS since its first debut in version 5R2 in 2008, but in CMS 12, it's removed! Don't despair! Make...

Tomas Hensrud Gulla | Oct 4, 2022 | Syndicated blog

Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog