If we needs the whole line
grep -R -a 'XXX'
If we needs the whole line
grep -R -a 'XXX'
The following effectively overwrites the toString() method for any class as seen using the Eclipse Debugger only, but I’ve found it very useful in decoding calendar objects while I debug.
Add a Debug Detail Formatter, using these steps:
As an example, for the calendar object:
java.util.Calendar
into the Qualified type name field
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z"); sdf.format(this.getTime());
Click OK.
src: