You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code minings for debugging currently do not work for lambdas.
The following works:
text.addModifyListener(new ModifyListener() {
@Override
public void modifyText(ModifyEvent e) {
int i = 5;
int b = i +5;
System.out.println(b);
System.out.println(i);
}
});
The following does not works:
Text text = new Text(parent, SWT.SINGLE | SWT.LEAD | SWT.BORDER);
text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
text.setText("Hello");
text.addModifyListener(e -> {
int i = 5;
int b = i +5;
System.out.println(b);
System.out.println(i);
});
The text was updated successfully, but these errors were encountered:
Code minings for debugging currently do not work for lambdas.
The following works:
The following does not works:
The text was updated successfully, but these errors were encountered: