J
JBeerhalter
I have a very simple application that consists of two projects in VS
2005. The first is a simple forms application with a button on it, and
then second is a class library with one public ref object in it with a
couple methods. I can reference the class library just fine, and I
can call methods in it, but if I start debugging and step into any of
the methods in the class library, I cannot see the values of any
variable passed into any method, they always show up as "out of scope"
This is making debugging nearly impossible.
For instance if we have the following method in the class library
void DoSomethingCool(String ^string1, String ^string2)
{
......All the cool logic in here
}
Then string1 and string2 will always be "out of scope" in the watch
window.
In C# this works fine right out of the box, but with VS C++/CLI I
can't make it work.
-JB
2005. The first is a simple forms application with a button on it, and
then second is a class library with one public ref object in it with a
couple methods. I can reference the class library just fine, and I
can call methods in it, but if I start debugging and step into any of
the methods in the class library, I cannot see the values of any
variable passed into any method, they always show up as "out of scope"
This is making debugging nearly impossible.
For instance if we have the following method in the class library
void DoSomethingCool(String ^string1, String ^string2)
{
......All the cool logic in here
}
Then string1 and string2 will always be "out of scope" in the watch
window.
In C# this works fine right out of the box, but with VS C++/CLI I
can't make it work.
-JB