In Eclipse, how can I write a debug statement to a console window? I tried:
System.out.print(urls);
System.out.println(urls);
Log.d("tag", urls);
But I don't see the values being displayed anywhere.
Thanks.
In Eclipse, how can I write a debug statement to a console window? I tried:
System.out.print(urls);
System.out.println(urls);
Log.d("tag", urls);
But I don't see the values being displayed anywhere.
Thanks.
Are you sure you have the console window in eclipse setup to display output? On the menu bar in eclipse, go to Window->Show View->Console. When you run the program, that console window should be where your System.out.print(ln) output is displayed.
If you are running some kind of client-server application, you may actually have multiple consoles. If you see a console, there should be a little arrow icon next to it. Use that to dropdown a list of all the various consoles, and pick the appropriate one.