Page 1 of 1
Broadleaf debugging
Posted: Mon Jan 28, 2013 6:33 am
by julia
Hello!
I would like to debug the broadleaf admin site. I have tried to run gwt-debug task in admin ant file. But I got nothing and I found
noserver is set
msg in log console. And I found GUI window and I click
Launch Default Browser
button. The browser say page not found.
I would like to know how to configure for debugging in broadleaf.
Thanks
Re: Broadleaf debugging
Posted: Mon Jan 28, 2013 4:08 pm
by phillipuniverse
After running gwt-debug, go to this link in your browser:
localhost:8444/admin?gwt.codesvr=localhost:8888
You should then be in GWT debug mode. To test this, you can look at the GWT console that pops up to verify that some statements are getting logged. You should see messages about DynamicResultSet and a line that says the GWT module has loaded.
The "Launch Default Browser" button usually just has the wrong server port (I think it's defaulted to go to locahost:8080).
Re: Broadleaf debugging
Posted: Mon Jan 28, 2013 11:04 pm
by julia
Thank a lot for ur reply....
Actually, there is no GUI window when I run the gwt-debug. There is only GUI window for gwt-run. I ran the jetty demo first and than I run the gwt-run or gwt-debug. I enter ur url. But It doesn't work. Is there any missing step.
Thanks.
Re: Broadleaf debugging
Posted: Sat Feb 02, 2013 6:04 am
by julia
Yep,
I got it. I was wrong the protocol. It should be https.
I have to run jetty server and then gwt run. And I have to access
https://localhost:8444/admin/admin.html?gwt.codesvr=localhost:9997#.Thank a lot.
julia