Windbg.exe
Ctrl+d <process Id>
.loadby sos mscorwks
sxe -c"!pe;!clrstack;go" clr
g
(it worked in the text editor of my iPhone)

Repro, notice the exception and its call
Stack in the debugger.

Alternativelly search for "Miguel windbg" to find a guide on debugging sl.

Corneliu



On 06/11/2009, at 7:27 AM, "Scott Barnes" 
<[email protected]<mailto:[email protected]>> wrote:

Ahh back on the OzSilverlight list again! ☺
<minor announcement> - Firstly, anyone who doesn’t know, I no longer work at 
Microsoft (resigned 1 month ago) as Prod Manager for Silverlight/WPF – I’m 
heading home to work for Readify as their UX Specialist. I arrive home in 
January 2010 </minor-announcement>

I’ve posted my question here on StackOverflow - 
<http://stackoverflow.com/questions/1683298/silverlight-tabcontrol-inheritance-fails-in-expression-blend>
 
http://stackoverflow.com/questions/1683298/silverlight-tabcontrol-inheritance-fails-in-expression-blend

Anyone who helps gets a beer from me. As this one has me stumped (I’ve asked 
some friends on the Expression / Silverlight Teams but getting blank looks).

The question:
I create a basic TemplatedControl via Visual Studio. I then inherit TabControl 
instead of Control. It technically works (ie passes compile) but inside 
Expression Blend 3, I get an error " object reference not set to an instance of 
an object".
Then if i click on the TabItem itself, the error goes away? But then click on 
the TabControl item itself, it reappears anyone experience this?
I tested this out on a brand new project with nothing it other than a custom 
tab control and same thing happens (so it could very well be an expression bug?)
Code is here:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Riagenic.UXLib.Controls.Chrome
{
    public class ChromeTabControl : TabControl
    {
        public ChromeTabControl() : base()
        {
            this.DefaultStyleKey = typeof(ChromeTabControl);

        }
    }
}

<image001.png>
_______________________________________________
ozsilverlight mailing list
[email protected]<mailto:[email protected]>
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to