Browse Source

Fixed SD2-637: Cannot expand array in debugger tree view;

Fixed SD2-612: Debugger exception generated when viewing XmlNamespaceManager members

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1061 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
3ec442e255
  1. 4
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/ArrayValue.cs

4
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/ArrayValue.cs

@ -93,8 +93,10 @@ namespace Debugger
} }
} }
Variable GetItem(uint[] indices, ValueGetter getter) Variable GetItem(uint[] itemIndices, ValueGetter getter)
{ {
uint[] indices = (uint[])itemIndices.Clone();
if (indices.Length != rank) throw new DebuggerException("Given indicies does not match array size."); if (indices.Length != rank) throw new DebuggerException("Given indicies does not match array size.");
string elementName = "["; string elementName = "[";

Loading…
Cancel
Save