eclipse watch expression cannot be resolved to a type 表达式 类型无法解析
·
today I encountered an type resolving of expression in eclipse debuging.
1. stop at a break point
2. add watch expression: " a.b.c.Test.class.toString()"
3. evaluate the expression: error occurred: a.b.c cannot be resolved to a type.
root cause:
a.b.c.Test is not in the classpath of the project where the debuging stopped at.
类型必须在断点所在项目的classpath中才可以。
更多推荐
所有评论(0)