Browse Source

Type of boxed and byref values obtained properly now (Forum-7548)

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1395 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
0d571b3a13
  1. 8
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Value.cs

8
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Value.cs

@ -240,13 +240,13 @@ namespace Debugger @@ -240,13 +240,13 @@ namespace Debugger
internal static Value CreateValue(NDebugger debugger, ICorDebugValue corValue)
{
CorElementType type = Value.GetCorType(corValue);
if (Value.DereferenceUnbox(corValue) == null)
{
ICorDebugValue derefed = Value.DereferenceUnbox(corValue);
if (derefed == null) {
return new NullValue(debugger, corValue);
}
CorElementType type = Value.GetCorType(derefed);
switch(type)
{
case CorElementType.BOOLEAN:

Loading…
Cancel
Save