Suddenly the variable clock stopped working (VS)

I am using Visual Studio 2008 to debug a C # project. I had code in one project, and then I merged the code from that project into another (which didn't affect my code at all). Well now using this new project the variable clock doesn't work .. sort of like at all.

As I have List<String> elements;

, and in an old project, I can hover and expand items to see each value in the list. With this new project, I can't do this anymore. I hit the little + and I get the properties "count" and "capacity" and that's it.

public class Function
{
protected VariableList arguments;
public VariableList Arguments
{
    get
    {
        return arguments;
    }
}

Variable returnval;
public Variable Returns
{
    get
    {
        return Returns;
    }
}
protected int start;
public Function(int start_,VariableList args,Variable returns) {
       //....
}
public object call(VariableList args,script s)
{
    //....

}

}

      

All properties of this function instance are populated. But when I hover over such an instance to see the value of the variable while debugging, now each property has only a red circle and it says "the pointer is no longer valid" while the program is running, and usually the debugger crashes at that point too.

So wtf happened with the VS debugger? is there some special option in the solution or web.config that I'm missing here? (debugging is enabled by the way) or VS just somehow creates a file with a bad solution or something

+2


source to share


1 answer


Apparently my web.config was messed up.

It had a debug = true thing, but it was missing closing tags that VS didn't talk about, but apparently messed up subtle things.



It is allowed

+1


source







All Articles