[Engine-devel] How to debug in frontend project

Ofri Masad omasad at redhat.com
Tue Feb 26 09:20:19 UTC 2013


Hi,

Not sure this it what you've meant, but gwt allows you to debug directly from your IDE.
Here is how:
 - compile using maven
 - go to: frontend/webadmin/modules/webadmin
 - run:   mvn clean gwt:debug -Pgwt-admin,gwtdev    
   (This will invoke a maven build which will get to the line: "[INFO] Listening for transport dt_socket at address: 8000")
 - Create a debug configuration on your IDE for remote debug on host:localhost port:8000
 - Debug using the IDE
   (The IDE debug would launch a gwt tool which would allow you to activate the webadmin on you browser)
 
* after activating the webadmin on the browser via the gwt tool, be patient - it takes few minutes to load.

Ofri

----- Original Message -----
> From: "Wei D Chen" <wei.d.chen at intel.com>
> To: engine-devel at ovirt.org
> Sent: Tuesday, February 26, 2013 11:00:57 AM
> Subject: [Engine-devel] How to debug in frontend project
> 
> Hi,
> 
> How to debug the code in frontend project? I mean, print out some
> debug message from "onSave" method in the java file of
> "VmListModel.java" which is located in uicommonweb project. Thanks
> in advance.
> 
> Best Regards,
> Dave Chen
> 
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list