Try our conversational search powered by Generative AI!

Allan Thraen
Jul 5, 2011
  4739
(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.

image

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.

 

Enjoy!

Jul 05, 2011

Comments

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
Azure AI Language – Extractive Summarisation in Optimizely CMS

In this article, I demonstrate how extractive summarisation, provided by the Azure AI Language platform, can be leveraged to produce a set of summa...

Anil Patel | Apr 26, 2024 | Syndicated blog

Optimizely Unit Testing Using CmsContentScaffolding Package

Introduction Unit tests shouldn't be created just for business logic, but also for the content and rules defined for content creation (available...

MilosR | Apr 26, 2024

Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024