M
Mark Ingram
Hi, is there an debugger step over attribute that I can use on
properties? For instance, I have a singlton class with an "Instance"
property:
public MyClass Instance
{
get
{
if (m_instance == null)
{
m_instance = new MyClass();
}
return m_instance;
}
}
It's annoying when i have a function like,
MyClass.Instance.DoSomething(). I have to use the step into command, but
first it steps into the property, then i have to go out of that and step
in again to go into the actual function.
Thanks,
properties? For instance, I have a singlton class with an "Instance"
property:
public MyClass Instance
{
get
{
if (m_instance == null)
{
m_instance = new MyClass();
}
return m_instance;
}
}
It's annoying when i have a function like,
MyClass.Instance.DoSomething(). I have to use the step into command, but
first it steps into the property, then i have to go out of that and step
in again to go into the actual function.
Thanks,