Good afternoon, dear Smart GWT gurus!
I've asked my question in GWT group, but people there think that it's smartgwt module problem, so I repeat it here.
I've noticed that if I create an event handler, for example
I can't see the problem in the Development Mode Panel in the Eclipse. The last record there is "Module has been loaded". The application itself behaves just as if nothing happened. You can try it by yourself.
But if only I put "int i = 5/0;" after ButtonItem declaration, i.e. not in inner class, the exception will be described in Development Mode Panel.
Having this, it's very hard to catch errors... Can you advise anything to me? Or is it a bug?
I use Eclipse 3.5 SR1, Google Plugin 1.2.0, GWT Toolkit SDK 2.0.1, smartgwt 2.0, latest Firefox and Windows 7 x64 Ultimate.
Thank you very much in advance!
I've asked my question in GWT group, but people there think that it's smartgwt module problem, so I repeat it here.
I've noticed that if I create an event handler, for example
Code:
ButtonItem btnSubmit = new ButtonItem(); btnSubmit.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() { @Override public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) { int i = 5/0; } });
But if only I put "int i = 5/0;" after ButtonItem declaration, i.e. not in inner class, the exception will be described in Development Mode Panel.
Having this, it's very hard to catch errors... Can you advise anything to me? Or is it a bug?
I use Eclipse 3.5 SR1, Google Plugin 1.2.0, GWT Toolkit SDK 2.0.1, smartgwt 2.0, latest Firefox and Windows 7 x64 Ultimate.
Thank you very much in advance!
Comment