ASPX templates
Version 4.x > ASPX templates > Need some help debugging View modes: 
User avatar
Member
Member
random0xff - 4/15/2009 7:14:40 AM
   
Need some help debugging
I wanted to understand how a stylesheet was added to my ASPX template, so I decided to set a breakpoint and check some variable.

I set the breakpoint, browsed to / and checked the CMSContext.CurrentPageInfo property, but it's null. This was not what I expected.

What is a good way to get this info?

User avatar
Member
Member
random0xff - 4/15/2009 7:16:56 AM
   
RE:Need some help debugging
Never mind, I browsed directly to the ASPX template, so of course there was no matching PageInfo for that path.

Doh!