There are a couple of ways to accomplish this.
1. Add the Obj.GetText to the watch window while you are stepping over the
code.
2. Debug.writeline(Obj.GetText), will output the value in the output window
3. Trace.Writeline(Obj.GetText) will output the value in the output window,
and allow you to capture it with a TraceListener for logging into another
medium.
4. if you are expecting a particular value, you may use
debug.assert(string.compare(Obj.GetText,"Some Text")=0, "Obj.GetText is not
some value") will still message box while in debug mode, but only if the
criterian does not match.
in all cases you will have to run the code.
HTH