GWT SuperDevMode断点不起作用 [英] GWT SuperDevMode breakpoints not working

查看:112
本文介绍了GWT SuperDevMode断点不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ,我试图在类中放置一个断点,有时它会起作用,但有时它会将调试器放入文件 MyApp-0.js

有没有一种方法可以在相应的Java文件中使用我的断点进行导航?



我正在使用IntelliJ 13.1.2



是的,我的GWT模块使用超级开发模式设置:

 < add-linker name =xsiframe/> 
< set-configuration-property name =devModeRedirectEnabledvalue =true/>

编辑:



在最新版本的Chrome中使用Jetbrains javascript调试插件。

我可以通过代码服务器页面手动从代码服务器访问我的源代码...使用IntelliJ插件我去 http:// localhost:9876 / sourcemaps / MyApp / ,我看到源代码。



看看配置应该在IntelliJ中看起来应该是怎样的。

解决方案

尝试文件 - >使缓存失效并重新启动。


I'm using IntelliJ, and I'm trying to put a breakpoint in a class, sometimes it works, but sometimes it brings the debugger in the file MyApp-0.js and I have to debug cryptic generated javascript.

Is there a way to navigate with my breakpoints in the corresponding Java file?

I am using IntelliJ 13.1.2

And yes, my GWT module uses the super dev mode settings:

<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>

edit:

Also yes, I'm using the Jetbrains javascript debugging plugin in the latest version of Chrome.

I can access my sourcemaps from my code server manually by going to the code server page... Using IntelliJ plugin I go to http://localhost:9876/sourcemaps/MyApp/ and I see the source.

It'd be useful to see how the config should look like in IntelliJ maybe.

解决方案

Try File -> Invalidate Caches and Restart.

这篇关于GWT SuperDevMode断点不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆