Hi, As Martin pointed out you can use FireBug or Google Chrome inbuilt feature. But if you have problem debugging on different browser on your platform then I would suggest the build of OOPH is what is required. By using OOPHM you can debug your application on any browser of your choice.
Building OOPHM is simple and it is listed on my blog http://allahbaksh.blogspot.com Regards, Allahbaksh Mohammedali Asadullah http://allahbaksh.blogspot.com On Feb 26, 2:26 pm, mars1412 <martin.trum...@24act.at> wrote: > you could use firebug for firefox > it will display the logmessages in the console > also Iron (type of Chrome) has a java-script console where you can see > the logs > > On Feb 25, 8:35 pm, joe young <keven.c...@gmail.com> wrote: > > > > > > > I'm using NetBeans to develope my GWT applicaiotn. > > > Everything works fine when i deploy to gwt-shell-hosted. However when > > I deploy to tomcat 6 with netbeans, many little problems occur. Such > > as. > > > I have a TreePanel that display all the regions. When the TreePanel > > first create, it will call RPC to retreive data > > service.getGeoRootNode(new AsyncCallback() { > > public void onSuccess(Object result) { > > > GeoNode rootNode = (GeoNode) result; > > > rootTreeNode.setText(rootNode.getNodeDesc()); > > > rootTreeNode.setIconCls(rootNode.getNodeName() + "- > > icon"); > > > buildChildTreeNode(rootNode, rootTreeNode); // build > > the children nodes > > > setRootNode(rootTreeNode); > > }}); > > > However the tree building stop right after the rootNode is created. I > > cannot trace the code because GWT.log() cannot print to tomcat logging > > (I'm using log4J for server side logging) thus I don't know what > > happen.... > > > Question1: How can we trace the client side code? Is it possible that > > ask GWT.log dump to log4J? > > > Question 2: Is it because buildChildTreeNode(rootNode, rootTreeNode) > > is outside of onSuccess() so it cannot be run?? > > > Thanks for your help in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---