I've pasted the classes relevant to my question below. vis2 is an instantiated version of the Connect2 class. When debugging, if I'm in the Connect class, and then jump into the vis2.setURL(String url) method, this is listed in the Variablesview. The value for this is listed as Connect2 (id=22).
Is it possible to have Eclipse show WHICH instance of Connect2 this is describing (in this case vis2)? Thanks in advance.
Main.java
public class Main {
public static main(String[] args) {
Connect connect = new Connect();
connect.findLocid();
}
}
Connect.java
public class Connect {
public void findLocid(){
Connect2 vis2 = new Connect2();
vis2.setURL("Https://www.someurl.com");
vis2.execute();
}
}
Connect2.java
public class Connect2 {
private String url;
public Connect3 me;
public void execute() {
me = new Connect3(this.url);
me.connect();
}
public void setURL(String url) {
this.url = url;
}
}
id=22is Eclipse trying to show you which object it is.