3
环境信息
arthas-boot.jar
或者as.sh
的版本: xxx- Arthas 版本: 3.5.4
- 操作系统版本: Debian GNU/Linux 11
- 目标进程的JVM版本: 11
- 执行
arthas-boot
的版本: xxx
- curl -O https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar
- watch -n 1 -x 1 类全名 方法名 {params[0].map.get("aa:bb")}
不报错,能正常输出 key对应的 value
实际运行的结果实际运行结果,最好有详细的日志,异常栈。尽量贴文本。
watch failed, condition is: null, express is: {params[0].map.get(aa:bb)}, ognl.ExpressionSyntaxException: Malformed OGNL expression: {params[0].map.get("aa:bb")} [ognl.ParseException: Encountered " ":" ": "" at line 1, column 23.
Was expecting one of:
"," ...
"=" ...
"?" ...
"||" ...
"or" ...
"&&" ...
"and" ...
"|" ...
"bor" ...
"^" ...
"xor" ...
"&" ...
"band" ...
"==" ...
"eq" ...
"!=" ...
"neq" ...
"<" ...
"lt" ...
">" ...
"gt" ...
"<=" ...
"lte" ...
">=" ...
"gte" ...
"in" ...
"not" ...
"<<" ...
"shl" ...
">>" ...
"shr" ...
">>>" ...
"ushr" ...
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
"instanceof" ...
"." ...
"(" ...
")" ...
"[" ...
<DYNAMIC_SUBSCRIPT> ...
"(" ...
], visit /root/logs/arthas/arthas.log for more details.