From: gmungoc Date: Fri, 22 Mar 2019 14:38:08 +0000 (+0000) Subject: JAL-1889 more debug logging X-Git-Tag: Release_2_11_0~17^2~34 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3cdfc5e46776dbb8127f0a5b64df3545b988e3d9;p=jalview.git JAL-1889 more debug logging --- diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index b3fcc54..795faff 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -500,6 +500,9 @@ public class SeqCanvas extends JComponent implements ViewportListenerI labelWidthWest = av.getScaleLeftWrapped() ? labelWidth : 0; + System.out.println(Thread.currentThread().getName() + + " " + System.currentTimeMillis() + " labelWidthWest: " + + labelWidthWest); return (canvasWidth - labelWidthEast - labelWidthWest) / charWidth; } diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 11ee700..6bc1ad8 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -371,8 +371,10 @@ public class SeqPanel extends JPanel if (debug != null) { System.out.println( - String.format("%s: x %d labelWest %d charWidth %d ", debug, - x, seqCanvas.getLabelWidthWest(), charWidth)); + String.format("%s: %s %d x %d labelWest %d charWidth %d ", + debug, Thread.currentThread().getName(), + System.currentTimeMillis(), x, + seqCanvas.getLabelWidthWest(), charWidth)); } if (x < 0) {