Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

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

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog