Skip to content

GWT Super Dev Mode 调试问题 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xiangguanlan opened this issue Jul 11, 2018 · 5 comments
Open

GWT Super Dev Mode 调试问题 #74

xiangguanlan opened this issue Jul 11, 2018 · 5 comments

Comments

@xiangguanlan
Copy link

xiangguanlan commented Jul 11, 2018

开发工具是IntelliJ Idea,按照quick start 说明的方法import代码,并选择了Super Dev Mode模式,发现client端代码打断点无效,尝试采用前端调试,采用chrome浏览器,source里无法看到Java代码,只能看到css/html/js文件,不知是否我哪里操作不对,请问如何进行前端调试?

@xiangguanlan
Copy link
Author

还有,如果我去掉Super Dev Mode的勾选,结果运行程序后无法打开网页,是不是我chrome少安装了什么插件?

@SallyWY
Copy link

SallyWY commented Jul 16, 2018

@xiangguanlan 您好,请问您IntelliJ Idea的版本是?

@xiangguanlan
Copy link
Author

@SallyWY 2018.1.3(ultimate edition),与版本有关系吗

@sinllychen
Copy link
Contributor

@xiangguanlan 您好,因为我们前端的框架是GWT,它是编译成Js代码进行渲染的,GWT工程本身是不能通过IDE进行断点调试的。您需要通过打印日志的方式进行调试,具体调试方法请参考https://github.com/ICT-BDA/EasyML/wiki/Debug-Tips-For-EasyML 这部分中的Eclipse或IDEA查看运行日志

@xiangguanlan
Copy link
Author

xiangguanlan commented Aug 2, 2018

@sinllychen 您好,查看百度貌似2.0后,可以通过SDV模式进行前端调试的,可以大大加快开发效率,连接如下 https://blog.csdn.net/logsharp/article/details/54580419
但是我按照好几个帖子操作,都无法再chrome里看到java代码,更别说调试了,不知道是不是gwt2.5版本的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants