src/main/java/xelfi/debugger/LocalsView.java
branchDirtyFix
changeset 10 fe294d0f1297
parent 0 189280700bc7
     1.1 --- a/src/main/java/xelfi/debugger/LocalsView.java	Tue Jan 17 19:59:12 2017 +0100
     1.2 +++ b/src/main/java/xelfi/debugger/LocalsView.java	Tue Jan 17 21:12:37 2017 +0100
     1.3 @@ -11,7 +11,6 @@
     1.4  import xelfi.top.TopLevel;
     1.5  import xelfi.top.TopDialog;
     1.6  
     1.7 -import sun.tools.debug.*; // needs TCP/IP
     1.8  //import symantec.tools.debug.*; // doesn't need TCP/IP
     1.9  
    1.10  /**
    1.11 @@ -61,33 +60,6 @@
    1.12  			return;
    1.13  		}
    1.14  
    1.15 -		RemoteStackVariable rsv[] = document.getStackVariables();
    1.16 -
    1.17 -		if (rsv == null)
    1.18 -		{
    1.19 -			list.clear();
    1.20 -			return;
    1.21 -		}
    1.22 -
    1.23 -		int indexOfSelected = list.getSelectedIndex();
    1.24 -		if (indexOfSelected != -1)
    1.25 -			list.deselect(indexOfSelected);
    1.26 -
    1.27 -		for(int i = 0; i < rsv.length; i++)
    1.28 -		{
    1.29 -			String line = rsv[i].getName();
    1.30 -
    1.31 -			line += ": "+document.getCurrentValue(rsv[i].getName());
    1.32 -
    1.33 -			if (i > list.countItems()-1)
    1.34 -				list.addItem(line);
    1.35 -			else
    1.36 -				if (!list.getItem(i).equals(line))
    1.37 -					list.replaceItem(line, i);
    1.38 -		}
    1.39 -
    1.40 -		if (rsv.length < list.countItems())
    1.41 -			list.delItems(rsv.length, list.countItems()-1);
    1.42  	}
    1.43  
    1.44  	/**