首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >是否可以在Windows上调试2.3 RC1与激活器jvm调试和Java 8?

是否可以在Windows上调试2.3 RC1与激活器jvm调试和Java 8?
EN

Stack Overflow用户
提问于 2014-05-17 05:45:55
回答 2查看 3.4K关注 0票数 4

我试图使用调试播放框架2.3命令进行activator -jvm-debug 9999 run,但面临以下错误:

代码语言:javascript
复制
E:\workspace\CustomerClub>activator -jvm-debug 9999 run
[info] Loading project definition from E:\workspace\CustomerClub\project
[info] Set current project to CustomerClub (in build file:/E:/workspace/CustomerClub/)
[warn] The `-` command is deprecated in favor of `onFailure` and will be removed in 0.14.0
[error] Expected letter
[error] Expected symbol
[error] Expected '!'
[error] Expected '+'
[error] Expected '++'
[error] Expected 'debug'
[error] Expected 'info'
[error] Expected 'warn'
[error] Expected 'error'
[error] Expected ';'
[error] Expected end of input.
[error] Expected '--'
[error] Expected 'show'
[error] Expected 'all'
[error] Expected '*'
[error] Expected '{'
[error] Expected project ID
[error] Expected configuration
[error] Expected key
[error] Expected '-'
[error] 9999
[error] ^
[error] Not a valid command: jvm-debug
[error] Not a valid project ID: jvm-debug
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: jvm-debug
[error] jvm-debug
[error]          ^

我正在使用Java8更新5

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-12-15 12:02:32

我在Mac电脑上也有同样的问题。一旦我将激活器从1.2.3升级到1.2.12,它就开始工作了。

票数 1
EN

Stack Overflow用户

发布于 2014-05-17 10:40:44

这可能是Windows上的Activator错误(请参阅我的评论)。同时,您可以通过设置JAVA_OPTS来手动向VM提供调试选项。

例如,试试这个:

代码语言:javascript
复制
> set JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999"
> activator
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23708032

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档