S
Steven Prasil
I have a C# program with an if statement similar to
if (obj.myvar != Undefined.Value) { ...... }
When I test it in the CSharp CLR debugger this debugger does not recoginze
that the value is currently <undefined value> as shown in the watch list of the Debugger.
Hence the program branches into the if statement although it should skip it
obviously. Why?
Replacing the if statement above by
if (obj.var != null) { ......}
does NOT help. The programm jumps INTO the if branch.
Steven
if (obj.myvar != Undefined.Value) { ...... }
When I test it in the CSharp CLR debugger this debugger does not recoginze
that the value is currently <undefined value> as shown in the watch list of the Debugger.
Hence the program branches into the if statement although it should skip it
obviously. Why?
Replacing the if statement above by
if (obj.var != null) { ......}
does NOT help. The programm jumps INTO the if branch.
Steven